package rgb.power.led.controller;

import com.sun.corba.se.impl.activation.CommandHandler;
import java.awt.Color;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.io.IOException;
import java.util.ArrayList;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JLabel;
import javax.swing.JTextField;

/**
 *
 * @author Twistx77
 */


 
public class RGBPowerLedController extends javax.swing.JFrame {
    
    
    private static final int NUMBERS_OF_COLORS = 28;
    private static final int BAUD_RATE = 115200;   
    
    private static final int RGB_VALUE_TEXT_FIELD = 0;
    private static final int RGB_CAL_TEXT_FIELD = 1;
    
    Listeners listenerObject = new Listeners();

    CommunicationHandler comHandler = new CommunicationHandler();
                          // Transmition speed
    Configuration config = new Configuration();
    ArrayList<JTextField[]> colorsTextFieldsList = new ArrayList();
    ArrayList<JLabel> colorsLabelsList = new ArrayList();
    JTextField[] colorsArray = new JTextField[NUMBERS_OF_COLORS];
    
    
   
    boolean portConnected = false;          //Determines connection state
    /**
     * Creates new form MainWindow
     */
    public RGBPowerLedController() {


        try {
            config = config.readConfig();
        } catch (IOException | ClassNotFoundException ex) {
            Logger.getLogger(RGBPowerLedController.class.getName()).log(Level.SEVERE, null, ex);
        }

        
        initComponents();
        
        initVariables();

        setColorsConfig();

        initSelectionComboBoxes();

        refreshColors();
        
        C1R.addFocusListener(listenerObject);
        C1CalR.addFocusListener(listenerObject);



    }
    
    

    public void initVariables() {
        JTextField[] tfColor1 = {C1R, C1G, C1B, C1CalR, C1CalG, C1CalB};
        JTextField[] tfColor2 = {C2R, C2G, C2B, C2CalR, C2CalG, C2CalB};
        JTextField[] tfColor3 = {C3R, C3G, C3B, C3CalR, C3CalG, C3CalB};
        JTextField[] tfColor4 = {C4R, C4G, C4B, C4CalR, C4CalG, C4CalB};
        JTextField[] tfColor5 = {C5R, C5G, C5B, C5CalR, C5CalG, C5CalB};
        JTextField[] tfColor6 = {C6R, C6G, C6B, C6CalR, C6CalG, C6CalB};
        JTextField[] tfColor7 = {C7R, C7G, C7B, C7CalR, C7CalG, C7CalB};
        JTextField[] tfColor8 = {C8R, C8G, C8B, C8CalR, C8CalG, C8CalB};
        JTextField[] tfColor9 = {C9R, C9G, C9B, C9CalR, C9CalG, C9CalB};
        JTextField[] tfColor10 = {C10R, C10G, C10B, C10CalR, C10CalG, C10CalB};
        JTextField[] tfColor11 = {C11R, C11G, C11B, C11CalR, C11CalG, C11CalB};
        JTextField[] tfColor12 = {C12R, C12G, C12B, C12CalR, C12CalG, C12CalB};
        JTextField[] tfColor13 = {C13R, C13G, C13B, C13CalR, C13CalG, C13CalB};
        JTextField[] tfColor14 = {C14R, C14G, C14B, C14CalR, C14CalG, C14CalB};
        JTextField[] tfColor15 = {C15R, C15G, C15B, C15CalR, C15CalG, C15CalB};
        JTextField[] tfColor16 = {C16R, C16G, C16B, C16CalR, C16CalG, C16CalB};
        JTextField[] tfColor17 = {C17R, C17G, C17B, C17CalR, C17CalG, C17CalB};
        JTextField[] tfColor18 = {C18R, C18G, C18B, C18CalR, C18CalG, C18CalB};
        JTextField[] tfColor19 = {C19R, C19G, C19B, C19CalR, C19CalG, C19CalB};
        JTextField[] tfColor20 = {C20R, C20G, C20B, C20CalR, C20CalG, C20CalB};
        JTextField[] tfColor21 = {C21R, C21G, C21B, C21CalR, C21CalG, C21CalB};
        JTextField[] tfColor22 = {C22R, C22G, C22B, C22CalR, C22CalG, C22CalB};
        JTextField[] tfColor23 = {C23R, C23G, C23B, C23CalR, C23CalG, C23CalB};
        JTextField[] tfColor24 = {C24R, C24G, C24B, C24CalR, C24CalG, C24CalB};
        JTextField[] tfColor25 = {C25R, C25G, C25B, C25CalR, C25CalG, C25CalB};
        JTextField[] tfColor26 = {C26R, C26G, C26B, C26CalR, C26CalG, C26CalB};
        JTextField[] tfColor27 = {C27R, C27G, C27B, C27CalR, C27CalG, C27CalB};
        JTextField[] tfColor28 = {C28R, C28G, C28B, C28CalR, C28CalG, C28CalB};


        colorsTextFieldsList.add(tfColor1);
        colorsTextFieldsList.add(tfColor2);
        colorsTextFieldsList.add(tfColor3);
        colorsTextFieldsList.add(tfColor4);
        colorsTextFieldsList.add(tfColor5);
        colorsTextFieldsList.add(tfColor6);
        colorsTextFieldsList.add(tfColor7);
        colorsTextFieldsList.add(tfColor8);
        colorsTextFieldsList.add(tfColor9);
        colorsTextFieldsList.add(tfColor10);
        colorsTextFieldsList.add(tfColor11);
        colorsTextFieldsList.add(tfColor12);
        colorsTextFieldsList.add(tfColor13);
        colorsTextFieldsList.add(tfColor14);
        colorsTextFieldsList.add(tfColor15);
        colorsTextFieldsList.add(tfColor16);
        colorsTextFieldsList.add(tfColor17);
        colorsTextFieldsList.add(tfColor18);
        colorsTextFieldsList.add(tfColor19);
        colorsTextFieldsList.add(tfColor20);
        colorsTextFieldsList.add(tfColor21);
        colorsTextFieldsList.add(tfColor22);
        colorsTextFieldsList.add(tfColor23);
        colorsTextFieldsList.add(tfColor24);
        colorsTextFieldsList.add(tfColor25);
        colorsTextFieldsList.add(tfColor26);
        colorsTextFieldsList.add(tfColor27);
        colorsTextFieldsList.add(tfColor28);

        colorsArray[0] = color1;
        colorsArray[1] = color2;
        colorsArray[2] = color3;
        colorsArray[3] = color4;
        colorsArray[4] = color5;
        colorsArray[5] = color6;
        colorsArray[6] = color7;
        colorsArray[7] = color8;
        colorsArray[8] = color9;
        colorsArray[9] = color10;
        colorsArray[10] = color11;
        colorsArray[11] = color12;
        colorsArray[12] = color13;
        colorsArray[13] = color14;
        colorsArray[14] = color15;
        colorsArray[15] = color16;
        colorsArray[16] = color17;
        colorsArray[17] = color18;
        colorsArray[18] = color19;
        colorsArray[19] = color20;
        colorsArray[20] = color21;
        colorsArray[21] = color22;
        colorsArray[22] = color23;
        colorsArray[23] = color24;
        colorsArray[24] = color25;
        colorsArray[25] = color26;
        colorsArray[26] = color27;
        colorsArray[27] = color28;



        colorsLabelsList.add(Color1lbl);
        colorsLabelsList.add(Color2lbl);
        colorsLabelsList.add(Color3lbl);
        colorsLabelsList.add(Color4lbl);
        colorsLabelsList.add(Color5lbl);
        colorsLabelsList.add(Color6lbl);
        colorsLabelsList.add(Color7lbl);
        colorsLabelsList.add(Color8lbl);
        colorsLabelsList.add(Color9lbl);
        colorsLabelsList.add(Color10lbl);
        colorsLabelsList.add(Color11lbl);
        colorsLabelsList.add(Color12lbl);
        colorsLabelsList.add(Color13lbl);
        colorsLabelsList.add(Color14lbl);
        colorsLabelsList.add(Color15lbl);
        colorsLabelsList.add(Color16lbl);
        colorsLabelsList.add(Color17lbl);
        colorsLabelsList.add(Color18lbl);
        colorsLabelsList.add(Color19lbl);
        colorsLabelsList.add(Color20lbl);
        colorsLabelsList.add(Color21lbl);
        colorsLabelsList.add(Color22lbl);
        colorsLabelsList.add(Color23lbl);
        colorsLabelsList.add(Color24lbl);
        colorsLabelsList.add(Color25lbl);
        colorsLabelsList.add(Color26lbl);
        colorsLabelsList.add(Color27lbl);
        colorsLabelsList.add(Color28lbl);

    }
    
    //Check if text's field input is valid
    
    private String checkValidTextField(int type, String input){
        
        int input_int;
        try {
        input_int = Integer.parseInt(input);}
        catch (Exception e){
            return ("0");
        }
        
        switch (type){
            case RGB_VALUE_TEXT_FIELD:
                    if (input_int<0 || input_int>255)
                        input_int=0;
                break;
            case RGB_CAL_TEXT_FIELD:
                break;
            default: break;
        }
        
        return Integer.toString(input_int);
        
    }

    //////////////Recover the current names for each color////////// 
    private void initSelectionComboBoxes() {


        for (int i = 0; i < colorsLabelsList.size(); i++) {
            cbSelection1.insertItemAt(colorsLabelsList.get(i).getText(), i);
            cbSelection2.insertItemAt(colorsLabelsList.get(i).getText(), i);
        }
        cbSelection1.setSelectedIndex(0);
        cbSelection2.setSelectedIndex(0);
        cbSelection1.removeItemAt(28);
        cbSelection2.removeItemAt(28);

    }

    private void savePresetSelection() {

        int[] tempIntArray = {listPresets.getSelectedIndex(), cbSelection1.getSelectedIndex(), cbSelection2.getSelectedIndex(),
            Integer.parseInt(tfTimeSelection1.getText()), Integer.parseInt(tfTimeOff.getText()),
            Integer.parseInt(tfTimeSelection2.getText())};


        config.presetsConfigList.set(listPresets.getSelectedIndex(), tempIntArray.clone());                              //Save current preset configuration


    }

    private void refreshPresetSelection() {

        JTextField[] tfTemp = new JTextField[6];
        int[] tempIntArray = config.presetsConfigList.get(listPresets.getSelectedIndex());

        //System.out.println("index:"+listPresets.getSelectedIndex());
       /*
         * for(int i=0; i<tempIntArray.length; i++) System.out.println("index
         * Array " + i +" "+ tempIntArray[i]);
         */
        cbSelection1.setSelectedIndex(tempIntArray[1]);
        cbSelection2.setSelectedIndex(tempIntArray[2]);
        tfTimeSelection1.setText(Integer.toString(tempIntArray[3]));
        System.out.println("Index: " + listPresets.getSelectedIndex() + " tfTimeSelection1: " + Integer.toString(tempIntArray[2]));
        tfTimeOff.setText(Integer.toString(tempIntArray[4]));
        tfTimeSelection2.setText(Integer.toString(tempIntArray[5]));


        if (cbSelection1.getSelectedIndex() < 27 && cbSelection2.getSelectedIndex() < 27) {
            tfTemp = colorsTextFieldsList.get(cbSelection1.getSelectedIndex());
            colorSelection1.setBackground(new Color(Integer.parseInt(tfTemp[0].getText()), Integer.parseInt(tfTemp[1].getText()), Integer.parseInt(tfTemp[2].getText())));
            tfTemp = colorsTextFieldsList.get(cbSelection2.getSelectedIndex());
            colorSelection2.setBackground(new Color(Integer.parseInt(tfTemp[0].getText()), Integer.parseInt(tfTemp[1].getText()), Integer.parseInt(tfTemp[2].getText())));
        }
    }


    
    private void sendPreset(int presetNumber){
        
        
        int[] tempIntArray = config.presetsConfigList.get(presetNumber);
        JTextField[] tfTemp1 = new JTextField[6];
        JTextField[] tfTemp2 = new JTextField[6];
        tfTemp1 = colorsTextFieldsList.get(tempIntArray[1]);
        tfTemp2 = colorsTextFieldsList.get(tempIntArray[2]);
        
        comHandler.sendPresetPacket(presetNumber,Integer.parseInt(tfTemp1[0].getText()), Integer.parseInt(tfTemp1[1].getText()), Integer.parseInt(tfTemp1[2].getText()),
           Integer.parseInt(tfTemp2[0].getText()),Integer.parseInt(tfTemp2[1].getText()), Integer.parseInt(tfTemp2[2].getText()), tempIntArray[3], tempIntArray[4], tempIntArray[5]);
        
        
    }
    
        private void getColorsConfig() {

        JTextField[] tfTemp = new JTextField[6];
        String[] stringTemp = new String[7];

        for (int i = 0; i < colorsTextFieldsList.size(); i++) {
            tfTemp = (JTextField[]) colorsTextFieldsList.get(i);

            stringTemp[0] = colorsLabelsList.get(i).getText();               // gets color name from label

            for (int x = 0; x < tfTemp.length; x++) {
                stringTemp[x + 1] = tfTemp[x].getText();
            }

            config.colorsConfigList.set(i, stringTemp.clone());
        }
    }

    private void setColorsConfig() {

        JTextField[] tfTemp = new JTextField[6];
        String[] stringTemp = new String[7];

        for (int i = 0; i < colorsTextFieldsList.size(); i++) {
            stringTemp = (String[]) config.colorsConfigList.get(i);
            tfTemp = colorsTextFieldsList.get(i);

            colorsLabelsList.get(i).setText(stringTemp[0]);           // Sets color's name to label.

            for (int x = 0; x < tfTemp.length; x++) {
                tfTemp[x].setText(stringTemp[x + 1]);
            }
        }
    }

    private void refreshColors() {

        JTextField[] tfTemp = new JTextField[6];
        for (int i = 0; i < colorsArray.length; i++) {
            tfTemp = colorsTextFieldsList.get(i);
            colorsArray[i].setBackground(new Color(Integer.parseInt(tfTemp[0].getText()), Integer.parseInt(tfTemp[1].getText()), Integer.parseInt(tfTemp[2].getText())));
        }
    }

    private void refreshColor(int color) {

        JTextField[] tfTemp = new JTextField[6];

        tfTemp = colorsTextFieldsList.get(color);

        colorsArray[color].setBackground(new Color(Integer.parseInt(tfTemp[0].getText()), Integer.parseInt(tfTemp[1].getText()), Integer.parseInt(tfTemp[2].getText())));
    }

    private void setColorSelected(int button, int color) {
        int R, G, B;
        JTextField[] tfTemp = new JTextField[6];
        tfTemp = colorsTextFieldsList.get(color - 1);
        R = Integer.parseInt(tfTemp[1].getText());
        G = Integer.parseInt(tfTemp[2].getText());
        B = Integer.parseInt(tfTemp[3].getText());
        if (button == 1) {
            //    colorSelection1.setBackground(new Color(R, G, B));
        } else if (button == 3) {
            //   colorSelection2.setBackground(new Color(R, G, B));
        }

    }
    
    
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jTextField1 = new javax.swing.JTextField();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        jPanel14 = new javax.swing.JPanel();
        jPanel13 = new javax.swing.JPanel();
        jLabel13 = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        lPortSelection = new javax.swing.JList();
        btnRefreshComPorts = new javax.swing.JToggleButton();
        btnConnectComPort = new javax.swing.JToggleButton();
        jPanel2 = new javax.swing.JPanel();
        lblSelection1 = new javax.swing.JLabel();
        lblIRStart = new javax.swing.JLabel();
        btnIRStart = new javax.swing.JButton();
        lblIRStop = new javax.swing.JLabel();
        btnIRStop = new javax.swing.JButton();
        tfIRStart = new javax.swing.JTextField();
        jLabel92 = new javax.swing.JLabel();
        tfIRStop = new javax.swing.JTextField();
        lblIRPreset1 = new javax.swing.JLabel();
        btnIRPreset1 = new javax.swing.JButton();
        tfIRPresets1 = new javax.swing.JTextField();
        jLabel95 = new javax.swing.JLabel();
        tfIRPresets2 = new javax.swing.JTextField();
        tfIRPresets3 = new javax.swing.JTextField();
        tfIRPresets4 = new javax.swing.JTextField();
        btnIRPreset4 = new javax.swing.JButton();
        lblIRPreset4 = new javax.swing.JLabel();
        lblIRPreset3 = new javax.swing.JLabel();
        lblIRPreset2 = new javax.swing.JLabel();
        btnIRPreset2 = new javax.swing.JButton();
        btnIRPreset3 = new javax.swing.JButton();
        btnIRPreset6 = new javax.swing.JButton();
        btnIRPreset7 = new javax.swing.JButton();
        tfIRPresets7 = new javax.swing.JTextField();
        lblIRPreset7 = new javax.swing.JLabel();
        lblIRPreset6 = new javax.swing.JLabel();
        tfIRPresets6 = new javax.swing.JTextField();
        tfIRPresets5 = new javax.swing.JTextField();
        btnIRPreset5 = new javax.swing.JButton();
        lblIRPreset5 = new javax.swing.JLabel();
        jLabel97 = new javax.swing.JLabel();
        jLabel98 = new javax.swing.JLabel();
        tfIRPresets8 = new javax.swing.JTextField();
        btnIRPreset8 = new javax.swing.JButton();
        lblIRPreset9 = new javax.swing.JLabel();
        btnIRPreset9 = new javax.swing.JButton();
        tfIRPresets9 = new javax.swing.JTextField();
        tfIRPresets10 = new javax.swing.JTextField();
        btnIRPreset10 = new javax.swing.JButton();
        lblIRPreset8 = new javax.swing.JLabel();
        lblIRPreset10 = new javax.swing.JLabel();
        jPanel33 = new javax.swing.JPanel();
        colorSelection1 = new javax.swing.JTextField();
        color30 = new javax.swing.JTextField();
        colorSelection2 = new javax.swing.JTextField();
        lblSelection3 = new javax.swing.JLabel();
        lblSelection4 = new javax.swing.JLabel();
        tfTimeSelection1 = new javax.swing.JTextField();
        tfTimeOff = new javax.swing.JTextField();
        tfTimeSelection2 = new javax.swing.JTextField();
        jLabel14 = new javax.swing.JLabel();
        jLabel15 = new javax.swing.JLabel();
        jLabel91 = new javax.swing.JLabel();
        btnConfigure = new javax.swing.JButton();
        jProgressBar2 = new javax.swing.JProgressBar();
        jScrollPane2 = new javax.swing.JScrollPane();
        listPresets = new javax.swing.JList();
        lblSelection16 = new javax.swing.JLabel();
        lblSelection17 = new javax.swing.JLabel();
        cbSelection1 = new javax.swing.JComboBox();
        cbSelection2 = new javax.swing.JComboBox();
        btnSavePreset = new javax.swing.JButton();
        jPanel34 = new javax.swing.JPanel();
        colorTest = new javax.swing.JTextField();
        lblSelection19 = new javax.swing.JLabel();
        jLabel99 = new javax.swing.JLabel();
        CTestR = new javax.swing.JTextField();
        CTestCalR = new javax.swing.JTextField();
        lblColor62 = new javax.swing.JLabel();
        CTestCalG = new javax.swing.JTextField();
        CTestG = new javax.swing.JTextField();
        CTestB = new javax.swing.JTextField();
        CTestCalB = new javax.swing.JTextField();
        jLabel101 = new javax.swing.JLabel();
        jLabel100 = new javax.swing.JLabel();
        jPanel5 = new javax.swing.JPanel();
        jPanel1 = new javax.swing.JPanel();
        C1G = new javax.swing.JTextField();
        color1 = new javax.swing.JTextField();
        C1B = new javax.swing.JTextField();
        C1R = new javax.swing.JTextField();
        Color1lbl = new javax.swing.JLabel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        C1CalR = new javax.swing.JTextField();
        C1CalB = new javax.swing.JTextField();
        C1CalG = new javax.swing.JTextField();
        lblColor2 = new javax.swing.JLabel();
        jPanel4 = new javax.swing.JPanel();
        C2G = new javax.swing.JTextField();
        color2 = new javax.swing.JTextField();
        C2B = new javax.swing.JTextField();
        C2R = new javax.swing.JTextField();
        Color2lbl = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        jLabel11 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        C2CalR = new javax.swing.JTextField();
        C2CalB = new javax.swing.JTextField();
        C2CalG = new javax.swing.JTextField();
        lblColor8 = new javax.swing.JLabel();
        jPanel3 = new javax.swing.JPanel();
        C3G = new javax.swing.JTextField();
        color3 = new javax.swing.JTextField();
        C3B = new javax.swing.JTextField();
        C3R = new javax.swing.JTextField();
        Color3lbl = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        C3CalR = new javax.swing.JTextField();
        C3CalB = new javax.swing.JTextField();
        C3CalG = new javax.swing.JTextField();
        lblColor6 = new javax.swing.JLabel();
        jPanel7 = new javax.swing.JPanel();
        C4G = new javax.swing.JTextField();
        color4 = new javax.swing.JTextField();
        C4B = new javax.swing.JTextField();
        C4R = new javax.swing.JTextField();
        Color4lbl = new javax.swing.JLabel();
        jLabel19 = new javax.swing.JLabel();
        jLabel20 = new javax.swing.JLabel();
        jLabel21 = new javax.swing.JLabel();
        C4CalR = new javax.swing.JTextField();
        C4CalB = new javax.swing.JTextField();
        C4CalG = new javax.swing.JTextField();
        lblColor14 = new javax.swing.JLabel();
        jPanel6 = new javax.swing.JPanel();
        C5G = new javax.swing.JTextField();
        color5 = new javax.swing.JTextField();
        C5B = new javax.swing.JTextField();
        C5R = new javax.swing.JTextField();
        Color5lbl = new javax.swing.JLabel();
        jLabel16 = new javax.swing.JLabel();
        jLabel17 = new javax.swing.JLabel();
        jLabel18 = new javax.swing.JLabel();
        C5CalR = new javax.swing.JTextField();
        C5CalB = new javax.swing.JTextField();
        C5CalG = new javax.swing.JTextField();
        lblColor12 = new javax.swing.JLabel();
        jPanel12 = new javax.swing.JPanel();
        C8G = new javax.swing.JTextField();
        color8 = new javax.swing.JTextField();
        C8B = new javax.swing.JTextField();
        C8R = new javax.swing.JTextField();
        Color8lbl = new javax.swing.JLabel();
        jLabel34 = new javax.swing.JLabel();
        jLabel35 = new javax.swing.JLabel();
        jLabel36 = new javax.swing.JLabel();
        C8CalR = new javax.swing.JTextField();
        C8CalB = new javax.swing.JTextField();
        C8CalG = new javax.swing.JTextField();
        lblColor24 = new javax.swing.JLabel();
        jPanel11 = new javax.swing.JPanel();
        C9G = new javax.swing.JTextField();
        color9 = new javax.swing.JTextField();
        C9B = new javax.swing.JTextField();
        C9R = new javax.swing.JTextField();
        Color9lbl = new javax.swing.JLabel();
        jLabel31 = new javax.swing.JLabel();
        jLabel32 = new javax.swing.JLabel();
        jLabel33 = new javax.swing.JLabel();
        C9CalR = new javax.swing.JTextField();
        C9CalB = new javax.swing.JTextField();
        C9CalG = new javax.swing.JTextField();
        lblColor22 = new javax.swing.JLabel();
        jPanel10 = new javax.swing.JPanel();
        C10G = new javax.swing.JTextField();
        color10 = new javax.swing.JTextField();
        C10B = new javax.swing.JTextField();
        C10R = new javax.swing.JTextField();
        Color10lbl = new javax.swing.JLabel();
        jLabel28 = new javax.swing.JLabel();
        jLabel29 = new javax.swing.JLabel();
        jLabel30 = new javax.swing.JLabel();
        C10CalR = new javax.swing.JTextField();
        C10CalB = new javax.swing.JTextField();
        C10CalG = new javax.swing.JTextField();
        lblColor20 = new javax.swing.JLabel();
        jPanel9 = new javax.swing.JPanel();
        C11G = new javax.swing.JTextField();
        color11 = new javax.swing.JTextField();
        C11B = new javax.swing.JTextField();
        C11R = new javax.swing.JTextField();
        Color11lbl = new javax.swing.JLabel();
        jLabel25 = new javax.swing.JLabel();
        jLabel26 = new javax.swing.JLabel();
        jLabel27 = new javax.swing.JLabel();
        C11CalR = new javax.swing.JTextField();
        C11CalB = new javax.swing.JTextField();
        C11CalG = new javax.swing.JTextField();
        lblColor18 = new javax.swing.JLabel();
        jPanel8 = new javax.swing.JPanel();
        C12G = new javax.swing.JTextField();
        color12 = new javax.swing.JTextField();
        C12B = new javax.swing.JTextField();
        C12R = new javax.swing.JTextField();
        Color12lbl = new javax.swing.JLabel();
        jLabel22 = new javax.swing.JLabel();
        jLabel23 = new javax.swing.JLabel();
        jLabel24 = new javax.swing.JLabel();
        C12CalR = new javax.swing.JTextField();
        C12CalB = new javax.swing.JTextField();
        C12CalG = new javax.swing.JTextField();
        lblColor16 = new javax.swing.JLabel();
        jPanel15 = new javax.swing.JPanel();
        C15G = new javax.swing.JTextField();
        color15 = new javax.swing.JTextField();
        C15B = new javax.swing.JTextField();
        C15R = new javax.swing.JTextField();
        Color15lbl = new javax.swing.JLabel();
        jLabel37 = new javax.swing.JLabel();
        jLabel38 = new javax.swing.JLabel();
        jLabel39 = new javax.swing.JLabel();
        C15CalR = new javax.swing.JTextField();
        C15CalB = new javax.swing.JTextField();
        C15CalG = new javax.swing.JTextField();
        lblColor26 = new javax.swing.JLabel();
        jPanel16 = new javax.swing.JPanel();
        C16G = new javax.swing.JTextField();
        color16 = new javax.swing.JTextField();
        C16B = new javax.swing.JTextField();
        C16R = new javax.swing.JTextField();
        Color16lbl = new javax.swing.JLabel();
        jLabel40 = new javax.swing.JLabel();
        jLabel41 = new javax.swing.JLabel();
        jLabel42 = new javax.swing.JLabel();
        C16CalR = new javax.swing.JTextField();
        C16CalB = new javax.swing.JTextField();
        C16CalG = new javax.swing.JTextField();
        lblColor28 = new javax.swing.JLabel();
        jPanel17 = new javax.swing.JPanel();
        C17G = new javax.swing.JTextField();
        color17 = new javax.swing.JTextField();
        C17B = new javax.swing.JTextField();
        C17R = new javax.swing.JTextField();
        Color17lbl = new javax.swing.JLabel();
        jLabel43 = new javax.swing.JLabel();
        jLabel44 = new javax.swing.JLabel();
        jLabel45 = new javax.swing.JLabel();
        C17CalR = new javax.swing.JTextField();
        C17CalB = new javax.swing.JTextField();
        C17CalG = new javax.swing.JTextField();
        lblColor30 = new javax.swing.JLabel();
        jPanel18 = new javax.swing.JPanel();
        C18G = new javax.swing.JTextField();
        color18 = new javax.swing.JTextField();
        C18B = new javax.swing.JTextField();
        C18R = new javax.swing.JTextField();
        Color18lbl = new javax.swing.JLabel();
        jLabel46 = new javax.swing.JLabel();
        jLabel47 = new javax.swing.JLabel();
        jLabel48 = new javax.swing.JLabel();
        C18CalR = new javax.swing.JTextField();
        C18CalB = new javax.swing.JTextField();
        C18CalG = new javax.swing.JTextField();
        lblColor32 = new javax.swing.JLabel();
        jPanel19 = new javax.swing.JPanel();
        C19G = new javax.swing.JTextField();
        color19 = new javax.swing.JTextField();
        C19B = new javax.swing.JTextField();
        C19R = new javax.swing.JTextField();
        Color19lbl = new javax.swing.JLabel();
        jLabel49 = new javax.swing.JLabel();
        jLabel50 = new javax.swing.JLabel();
        jLabel51 = new javax.swing.JLabel();
        C19CalR = new javax.swing.JTextField();
        C19CalB = new javax.swing.JTextField();
        C19CalG = new javax.swing.JTextField();
        lblColor34 = new javax.swing.JLabel();
        jPanel20 = new javax.swing.JPanel();
        C6G = new javax.swing.JTextField();
        color6 = new javax.swing.JTextField();
        C6B = new javax.swing.JTextField();
        C6R = new javax.swing.JTextField();
        Color6lbl = new javax.swing.JLabel();
        jLabel52 = new javax.swing.JLabel();
        jLabel53 = new javax.swing.JLabel();
        jLabel54 = new javax.swing.JLabel();
        C6CalR = new javax.swing.JTextField();
        C6CalB = new javax.swing.JTextField();
        C6CalG = new javax.swing.JTextField();
        lblColor36 = new javax.swing.JLabel();
        jPanel21 = new javax.swing.JPanel();
        C13G = new javax.swing.JTextField();
        color13 = new javax.swing.JTextField();
        C13B = new javax.swing.JTextField();
        C13R = new javax.swing.JTextField();
        Color13lbl = new javax.swing.JLabel();
        jLabel55 = new javax.swing.JLabel();
        jLabel56 = new javax.swing.JLabel();
        jLabel57 = new javax.swing.JLabel();
        C13CalR = new javax.swing.JTextField();
        C13CalB = new javax.swing.JTextField();
        C13CalG = new javax.swing.JTextField();
        lblColor38 = new javax.swing.JLabel();
        jPanel22 = new javax.swing.JPanel();
        C20G = new javax.swing.JTextField();
        color20 = new javax.swing.JTextField();
        C20B = new javax.swing.JTextField();
        C20R = new javax.swing.JTextField();
        Color20lbl = new javax.swing.JLabel();
        jLabel58 = new javax.swing.JLabel();
        jLabel59 = new javax.swing.JLabel();
        jLabel60 = new javax.swing.JLabel();
        C20CalR = new javax.swing.JTextField();
        C20CalB = new javax.swing.JTextField();
        C20CalG = new javax.swing.JTextField();
        lblColor40 = new javax.swing.JLabel();
        jPanel23 = new javax.swing.JPanel();
        C21G = new javax.swing.JTextField();
        color21 = new javax.swing.JTextField();
        C21B = new javax.swing.JTextField();
        C21R = new javax.swing.JTextField();
        Color21lbl = new javax.swing.JLabel();
        jLabel61 = new javax.swing.JLabel();
        jLabel62 = new javax.swing.JLabel();
        jLabel63 = new javax.swing.JLabel();
        C21CalR = new javax.swing.JTextField();
        C21CalB = new javax.swing.JTextField();
        C21CalG = new javax.swing.JTextField();
        lblColor42 = new javax.swing.JLabel();
        jPanel24 = new javax.swing.JPanel();
        C14G = new javax.swing.JTextField();
        color14 = new javax.swing.JTextField();
        C14B = new javax.swing.JTextField();
        C14R = new javax.swing.JTextField();
        Color14lbl = new javax.swing.JLabel();
        jLabel64 = new javax.swing.JLabel();
        jLabel65 = new javax.swing.JLabel();
        jLabel66 = new javax.swing.JLabel();
        C14CalR = new javax.swing.JTextField();
        C14CalB = new javax.swing.JTextField();
        C14CalG = new javax.swing.JTextField();
        lblColor44 = new javax.swing.JLabel();
        jPanel25 = new javax.swing.JPanel();
        C7G = new javax.swing.JTextField();
        color7 = new javax.swing.JTextField();
        C7B = new javax.swing.JTextField();
        C7R = new javax.swing.JTextField();
        Color7lbl = new javax.swing.JLabel();
        jLabel67 = new javax.swing.JLabel();
        jLabel68 = new javax.swing.JLabel();
        jLabel69 = new javax.swing.JLabel();
        C7CalR = new javax.swing.JTextField();
        C7CalB = new javax.swing.JTextField();
        C7CalG = new javax.swing.JTextField();
        lblColor46 = new javax.swing.JLabel();
        jPanel26 = new javax.swing.JPanel();
        C27G = new javax.swing.JTextField();
        color27 = new javax.swing.JTextField();
        C27B = new javax.swing.JTextField();
        C27R = new javax.swing.JTextField();
        Color27lbl = new javax.swing.JLabel();
        jLabel70 = new javax.swing.JLabel();
        jLabel71 = new javax.swing.JLabel();
        jLabel72 = new javax.swing.JLabel();
        C27CalR = new javax.swing.JTextField();
        C27CalB = new javax.swing.JTextField();
        C27CalG = new javax.swing.JTextField();
        lblColor48 = new javax.swing.JLabel();
        jPanel27 = new javax.swing.JPanel();
        C28G = new javax.swing.JTextField();
        color28 = new javax.swing.JTextField();
        C28B = new javax.swing.JTextField();
        C28R = new javax.swing.JTextField();
        Color28lbl = new javax.swing.JLabel();
        jLabel73 = new javax.swing.JLabel();
        jLabel74 = new javax.swing.JLabel();
        jLabel75 = new javax.swing.JLabel();
        C28CalR = new javax.swing.JTextField();
        C28CalB = new javax.swing.JTextField();
        C28CalG = new javax.swing.JTextField();
        lblColor50 = new javax.swing.JLabel();
        jPanel28 = new javax.swing.JPanel();
        C26G = new javax.swing.JTextField();
        color26 = new javax.swing.JTextField();
        C26B = new javax.swing.JTextField();
        C26R = new javax.swing.JTextField();
        Color26lbl = new javax.swing.JLabel();
        jLabel76 = new javax.swing.JLabel();
        jLabel77 = new javax.swing.JLabel();
        jLabel78 = new javax.swing.JLabel();
        C26CalR = new javax.swing.JTextField();
        C26CalB = new javax.swing.JTextField();
        C26CalG = new javax.swing.JTextField();
        lblColor52 = new javax.swing.JLabel();
        jPanel29 = new javax.swing.JPanel();
        C25G = new javax.swing.JTextField();
        color25 = new javax.swing.JTextField();
        C25B = new javax.swing.JTextField();
        C25R = new javax.swing.JTextField();
        Color25lbl = new javax.swing.JLabel();
        jLabel79 = new javax.swing.JLabel();
        jLabel80 = new javax.swing.JLabel();
        jLabel81 = new javax.swing.JLabel();
        C25CalR = new javax.swing.JTextField();
        C25CalB = new javax.swing.JTextField();
        C25CalG = new javax.swing.JTextField();
        lblColor54 = new javax.swing.JLabel();
        jPanel30 = new javax.swing.JPanel();
        C24G = new javax.swing.JTextField();
        color24 = new javax.swing.JTextField();
        C24B = new javax.swing.JTextField();
        C24R = new javax.swing.JTextField();
        Color24lbl = new javax.swing.JLabel();
        jLabel82 = new javax.swing.JLabel();
        jLabel83 = new javax.swing.JLabel();
        jLabel84 = new javax.swing.JLabel();
        C24CalR = new javax.swing.JTextField();
        C24CalB = new javax.swing.JTextField();
        C24CalG = new javax.swing.JTextField();
        lblColor56 = new javax.swing.JLabel();
        jPanel31 = new javax.swing.JPanel();
        C23G = new javax.swing.JTextField();
        color23 = new javax.swing.JTextField();
        C23B = new javax.swing.JTextField();
        C23R = new javax.swing.JTextField();
        Color23lbl = new javax.swing.JLabel();
        jLabel85 = new javax.swing.JLabel();
        jLabel86 = new javax.swing.JLabel();
        jLabel87 = new javax.swing.JLabel();
        C23CalR = new javax.swing.JTextField();
        C23CalB = new javax.swing.JTextField();
        C23CalG = new javax.swing.JTextField();
        lblColor58 = new javax.swing.JLabel();
        jPanel32 = new javax.swing.JPanel();
        C22G = new javax.swing.JTextField();
        color22 = new javax.swing.JTextField();
        C22B = new javax.swing.JTextField();
        C22R = new javax.swing.JTextField();
        Color22lbl = new javax.swing.JLabel();
        jLabel88 = new javax.swing.JLabel();
        jLabel89 = new javax.swing.JLabel();
        jLabel90 = new javax.swing.JLabel();
        C22CalR = new javax.swing.JTextField();
        C22CalB = new javax.swing.JTextField();
        C22CalG = new javax.swing.JTextField();
        lblColor60 = new javax.swing.JLabel();

        jTextField1.setText("jTextField1");

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Controlador LED");
        setBackground(new java.awt.Color(51, 51, 51));
        setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        setMinimumSize(new java.awt.Dimension(1169, 740));
        setResizable(false);
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                saveLastState(evt);
            }
        });

        jTabbedPane1.setPreferredSize(new java.awt.Dimension(1169, 674));

        jPanel13.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        jLabel13.setFont(new java.awt.Font("Palatino Linotype", 1, 18)); // NOI18N
        jLabel13.setText("Conexion");

        lPortSelection.setListData(comHandler.getAvailablePorts());
        jScrollPane1.setViewportView(lPortSelection);

        btnRefreshComPorts.setText("Refresh");
        btnRefreshComPorts.setToolTipText("");
        btnRefreshComPorts.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnRefreshComPortsActionPerformed(evt);
            }
        });

        btnConnectComPort.setText("Conectar");
        btnConnectComPort.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnConnectComPortActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel13Layout = new javax.swing.GroupLayout(jPanel13);
        jPanel13.setLayout(jPanel13Layout);
        jPanel13Layout.setHorizontalGroup(
            jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel13Layout.createSequentialGroup()
                .addGap(31, 31, 31)
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel13Layout.createSequentialGroup()
                        .addComponent(jLabel13)
                        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(jPanel13Layout.createSequentialGroup()
                        .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 125, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 55, Short.MAX_VALUE)
                        .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(btnConnectComPort, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(btnRefreshComPorts, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addGap(38, 38, 38))))
        );
        jPanel13Layout.setVerticalGroup(
            jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel13Layout.createSequentialGroup()
                .addGap(5, 5, 5)
                .addComponent(jLabel13)
                .addGap(36, 36, 36)
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(jPanel13Layout.createSequentialGroup()
                        .addComponent(btnRefreshComPorts)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(btnConnectComPort))
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(0, 45, Short.MAX_VALUE))
        );

        jPanel2.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        lblSelection1.setFont(new java.awt.Font("Palatino Linotype", 1, 18)); // NOI18N
        lblSelection1.setText("Configuración IR");

        lblIRStart.setText("Inicio");

        btnIRStart.setText("Set");
        btnIRStart.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnIRStartActionPerformed(evt);
            }
        });

        lblIRStop.setText("Paro");

        btnIRStop.setText("Set");
        btnIRStop.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnIRStopActionPerformed(evt);
            }
        });

        tfIRStart.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        tfIRStart.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tfIRStartActionPerformed(evt);
            }
        });

        jLabel92.setText("Códigos");

        tfIRStop.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        tfIRStop.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tfIRStopActionPerformed(evt);
            }
        });

        lblIRPreset1.setText("Preset 1");

        btnIRPreset1.setText("Set");
        btnIRPreset1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnIRPreset1ActionPerformed(evt);
            }
        });

        tfIRPresets1.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        tfIRPresets1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tfIRPresets1ActionPerformed(evt);
            }
        });

        jLabel95.setText("Códigos");

        tfIRPresets2.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        tfIRPresets2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tfIRPresets2ActionPerformed(evt);
            }
        });

        tfIRPresets3.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        tfIRPresets3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tfIRPresets3ActionPerformed(evt);
            }
        });

        tfIRPresets4.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        tfIRPresets4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tfIRPresets4ActionPerformed(evt);
            }
        });

        btnIRPreset4.setText("Set");
        btnIRPreset4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnIRPreset4ActionPerformed(evt);
            }
        });

        lblIRPreset4.setText("Preset 4");

        lblIRPreset3.setText("Preset 3");

        lblIRPreset2.setText("Preset 2");

        btnIRPreset2.setText("Set");
        btnIRPreset2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnIRPreset2ActionPerformed(evt);
            }
        });

        btnIRPreset3.setText("Set");
        btnIRPreset3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnIRPreset3ActionPerformed(evt);
            }
        });

        btnIRPreset6.setText("Set");
        btnIRPreset6.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnIRPreset6ActionPerformed(evt);
            }
        });

        btnIRPreset7.setText("Set");
        btnIRPreset7.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnIRPreset7ActionPerformed(evt);
            }
        });

        tfIRPresets7.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        tfIRPresets7.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tfIRPresets7ActionPerformed(evt);
            }
        });

        lblIRPreset7.setText("Preset 7");

        lblIRPreset6.setText("Preset 6");

        tfIRPresets6.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        tfIRPresets6.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tfIRPresets6ActionPerformed(evt);
            }
        });

        tfIRPresets5.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        tfIRPresets5.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tfIRPresets5ActionPerformed(evt);
            }
        });

        btnIRPreset5.setText("Set");
        btnIRPreset5.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnIRPreset5ActionPerformed(evt);
            }
        });

        lblIRPreset5.setText("Preset 5");

        jLabel97.setText("Códigos");

        jLabel98.setText("Códigos");

        tfIRPresets8.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        tfIRPresets8.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tfIRPresets8ActionPerformed(evt);
            }
        });

        btnIRPreset8.setText("Set");
        btnIRPreset8.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnIRPreset8ActionPerformed(evt);
            }
        });

        lblIRPreset9.setText("Preset 9");

        btnIRPreset9.setText("Set");
        btnIRPreset9.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnIRPreset9ActionPerformed(evt);
            }
        });

        tfIRPresets9.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        tfIRPresets9.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tfIRPresets9ActionPerformed(evt);
            }
        });

        tfIRPresets10.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        tfIRPresets10.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tfIRPresets10ActionPerformed(evt);
            }
        });

        btnIRPreset10.setText("Set");
        btnIRPreset10.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnIRPreset10ActionPerformed(evt);
            }
        });

        lblIRPreset8.setText("Preset 8");

        lblIRPreset10.setText("Preset 10");

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addComponent(lblSelection1)
                        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGap(10, 10, 10)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel92)
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(lblIRStart)
                                .addGap(33, 33, 33)
                                .addComponent(btnIRStart)
                                .addGap(18, 18, 18)
                                .addComponent(tfIRStart, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addGroup(jPanel2Layout.createSequentialGroup()
                                    .addComponent(lblIRStop)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(btnIRStop)
                                    .addGap(18, 18, 18)
                                    .addComponent(tfIRStop, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGroup(jPanel2Layout.createSequentialGroup()
                                    .addComponent(lblIRPreset1)
                                    .addGap(18, 18, 18)
                                    .addComponent(btnIRPreset1)
                                    .addGap(18, 18, 18)
                                    .addComponent(tfIRPresets1, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))))
                        .addGap(36, 36, 36)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel95)
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(lblIRPreset2, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(btnIRPreset2)
                                .addGap(18, 18, 18)
                                .addComponent(tfIRPresets2, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(lblIRPreset4, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(btnIRPreset4)
                                .addGap(18, 18, 18)
                                .addComponent(tfIRPresets4, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(lblIRPreset3, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(btnIRPreset3)
                                .addGap(18, 18, 18)
                                .addComponent(tfIRPresets3, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGap(40, 40, 40)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel97)
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(lblIRPreset5, javax.swing.GroupLayout.PREFERRED_SIZE, 54, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(btnIRPreset5)
                                .addGap(18, 18, 18)
                                .addComponent(tfIRPresets5, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(lblIRPreset7, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(btnIRPreset7)
                                .addGap(18, 18, 18)
                                .addComponent(tfIRPresets7, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(lblIRPreset6, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(btnIRPreset6)
                                .addGap(18, 18, 18)
                                .addComponent(tfIRPresets6, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 45, Short.MAX_VALUE)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(jLabel98)
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(lblIRPreset8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addGap(18, 18, 18)
                                .addComponent(btnIRPreset8)
                                .addGap(18, 18, 18)
                                .addComponent(tfIRPresets8, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(lblIRPreset10)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(btnIRPreset10)
                                .addGap(18, 18, 18)
                                .addComponent(tfIRPresets10, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(lblIRPreset9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addGap(18, 18, 18)
                                .addComponent(btnIRPreset9)
                                .addGap(18, 18, 18)
                                .addComponent(tfIRPresets9, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGap(27, 27, 27))))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGap(2, 2, 2)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(jPanel2Layout.createSequentialGroup()
                            .addComponent(jLabel97)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(tfIRPresets7, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGroup(jPanel2Layout.createSequentialGroup()
                                    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                        .addComponent(btnIRPreset5)
                                        .addComponent(lblIRPreset5)
                                        .addComponent(tfIRPresets5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGap(19, 19, 19)
                                    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                        .addComponent(btnIRPreset6)
                                        .addComponent(tfIRPresets6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(lblIRPreset6))
                                    .addGap(18, 18, 18)
                                    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                        .addComponent(lblIRPreset7)
                                        .addComponent(btnIRPreset7)))))
                        .addGroup(jPanel2Layout.createSequentialGroup()
                            .addComponent(jLabel98)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(tfIRPresets10, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGroup(jPanel2Layout.createSequentialGroup()
                                    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                        .addComponent(btnIRPreset8)
                                        .addComponent(tfIRPresets8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(lblIRPreset8))
                                    .addGap(19, 19, 19)
                                    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                        .addComponent(lblIRPreset9)
                                        .addComponent(btnIRPreset9)
                                        .addComponent(tfIRPresets9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGap(18, 18, 18)
                                    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                        .addComponent(btnIRPreset10)
                                        .addComponent(lblIRPreset10))))))
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addComponent(lblSelection1)
                        .addGap(18, 18, 18)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(jLabel95)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                                        .addGap(42, 42, 42)
                                        .addComponent(tfIRPresets4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGroup(jPanel2Layout.createSequentialGroup()
                                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(btnIRPreset2)
                                            .addComponent(lblIRPreset2)
                                            .addComponent(tfIRPresets2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addGap(19, 19, 19)
                                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(btnIRPreset3)
                                            .addComponent(tfIRPresets3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addGap(18, 18, 18)
                                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(lblIRPreset4)
                                            .addComponent(btnIRPreset4)))))
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(jLabel92)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(tfIRPresets1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(jPanel2Layout.createSequentialGroup()
                                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(btnIRStart)
                                            .addComponent(lblIRStart)
                                            .addComponent(tfIRStart, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addGap(19, 19, 19)
                                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(lblIRStop)
                                            .addComponent(btnIRStop)
                                            .addComponent(tfIRStop, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(lblIRPreset3))
                                        .addGap(18, 18, 18)
                                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(lblIRPreset1)
                                            .addComponent(btnIRPreset1))))))))
                .addContainerGap(35, Short.MAX_VALUE))
        );

        jPanel33.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED));

        colorSelection1.setEditable(false);
        colorSelection1.setBackground(new java.awt.Color(0, 0, 0));
        colorSelection1.setBorder(null);

        color30.setEditable(false);
        color30.setBackground(new java.awt.Color(0, 0, 0));
        color30.setBorder(null);

        colorSelection2.setEditable(false);
        colorSelection2.setBackground(new java.awt.Color(0, 0, 0));
        colorSelection2.setBorder(null);

        lblSelection3.setText("Color 1");

        lblSelection4.setText("Color 2");

        tfTimeSelection1.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        tfTimeSelection1.setText("0");
        tfTimeSelection1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                tfTimeSelection1ActionPerformed(evt);
            }
        });
        tfTimeSelection1.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                tfTimeSelection1LostFocus(evt);
            }
        });

        tfTimeOff.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        tfTimeOff.setText("0");
        tfTimeOff.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                tfTimeOffFocusLost(evt);
            }
        });

        tfTimeSelection2.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        tfTimeSelection2.setText("0");
        tfTimeSelection2.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                tfTimeSelection2FocusLost(evt);
            }
        });

        jLabel14.setText("Minutos");

        jLabel15.setText("Minutos");

        jLabel91.setText("Minutos");

        btnConfigure.setText("Configurar");
        btnConfigure.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnConfigureActionPerformed(evt);
            }
        });

        listPresets.setModel(new javax.swing.AbstractListModel() {
            String[] strings = { "Preset 1", "Preset 2", "Preset 3", "Preset 4", "Preset 5", "Preset 6", "Preset 7", "Preset 8", "Preset 9", "Preset 10" };
            public int getSize() { return strings.length; }
            public Object getElementAt(int i) { return strings[i]; }
        });
        listPresets.setSelectedIndex(0);
        listPresets.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
            public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
                presetsListChanged(evt);
            }
        });
        listPresets.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                listPresetsFocusGained(evt);
            }
        });
        jScrollPane2.setViewportView(listPresets);

        lblSelection16.setFont(new java.awt.Font("Palatino Linotype", 1, 18)); // NOI18N
        lblSelection16.setText("Configuración Presets");

        lblSelection17.setText("Apagado");

        cbSelection1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Color" }));
        cbSelection1.setToolTipText("");
        cbSelection1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cbSelection1ActionPerformed(evt);
            }
        });

        cbSelection2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Color" }));
        cbSelection2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cbSelection2ActionPerformed(evt);
            }
        });

        btnSavePreset.setText("Guardar");
        btnSavePreset.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSavePresetActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel33Layout = new javax.swing.GroupLayout(jPanel33);
        jPanel33.setLayout(jPanel33Layout);
        jPanel33Layout.setHorizontalGroup(
            jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel33Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblSelection16)
                    .addGroup(jPanel33Layout.createSequentialGroup()
                        .addGap(21, 21, 21)
                        .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addGroup(jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(cbSelection1, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(cbSelection2, 0, 113, Short.MAX_VALUE))))
                .addGroup(jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel33Layout.createSequentialGroup()
                        .addGap(51, 51, 51)
                        .addComponent(lblSelection17)
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addGroup(jPanel33Layout.createSequentialGroup()
                        .addGap(56, 56, 56)
                        .addGroup(jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(lblSelection3)
                            .addComponent(lblSelection4))
                        .addContainerGap(168, Short.MAX_VALUE))))
            .addGroup(jPanel33Layout.createSequentialGroup()
                .addContainerGap(34, Short.MAX_VALUE)
                .addGroup(jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanel33Layout.createSequentialGroup()
                        .addComponent(jProgressBar2, javax.swing.GroupLayout.PREFERRED_SIZE, 230, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(38, 38, 38)
                        .addComponent(btnConfigure))
                    .addComponent(colorSelection1, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(color30, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(colorSelection2, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanel33Layout.createSequentialGroup()
                        .addGroup(jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(tfTimeOff, javax.swing.GroupLayout.DEFAULT_SIZE, 49, Short.MAX_VALUE)
                            .addComponent(tfTimeSelection2)
                            .addComponent(tfTimeSelection1))
                        .addGap(18, 18, 18)
                        .addGroup(jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel15)
                            .addComponent(jLabel14)
                            .addComponent(jLabel91, javax.swing.GroupLayout.Alignment.LEADING)))
                    .addComponent(btnSavePreset))
                .addGap(15, 15, 15))
        );
        jPanel33Layout.setVerticalGroup(
            jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel33Layout.createSequentialGroup()
                .addGroup(jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel33Layout.createSequentialGroup()
                        .addGap(59, 59, 59)
                        .addComponent(lblSelection3))
                    .addGroup(jPanel33Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(lblSelection16)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel33Layout.createSequentialGroup()
                        .addGroup(jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(colorSelection1, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(tfTimeSelection1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel14)
                            .addComponent(cbSelection1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)
                        .addComponent(lblSelection17)
                        .addGap(15, 15, 15)
                        .addGroup(jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(color30, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(tfTimeOff, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel15))
                        .addGap(18, 18, 18)
                        .addComponent(lblSelection4)
                        .addGap(11, 11, 11)
                        .addGroup(jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel91)
                            .addComponent(tfTimeSelection2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(colorSelection2, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(cbSelection2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 193, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jProgressBar2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel33Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(btnConfigure)
                        .addComponent(btnSavePreset)))
                .addContainerGap())
        );

        jPanel34.setBorder(javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED));

        colorTest.setEditable(false);
        colorTest.setBackground(new java.awt.Color(0, 0, 0));
        colorTest.setBorder(null);

        lblSelection19.setFont(new java.awt.Font("Palatino Linotype", 1, 18)); // NOI18N
        lblSelection19.setText("Prueba de Color");

        jLabel99.setText("RED");

        CTestR.setText("0");
        CTestR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CTestRFocusLostC1R(evt);
            }
        });

        CTestCalR.setText("0");
        CTestCalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CTestCalRFocusLostC1R(evt);
            }
        });

        lblColor62.setText("Calibración");

        CTestCalG.setText("0");
        CTestCalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CTestCalGFocusLostC1R(evt);
            }
        });

        CTestG.setText("0");
        CTestG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CTestGFocustLostC1G(evt);
            }
        });

        CTestB.setText("0");
        CTestB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CTestBFocusLostC1B(evt);
            }
        });

        CTestCalB.setText("0");
        CTestCalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CTestCalBFocusLostC1R(evt);
            }
        });

        jLabel101.setText("BLUE");

        jLabel100.setText("GREEN");

        javax.swing.GroupLayout jPanel34Layout = new javax.swing.GroupLayout(jPanel34);
        jPanel34.setLayout(jPanel34Layout);
        jPanel34Layout.setHorizontalGroup(
            jPanel34Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel34Layout.createSequentialGroup()
                .addGroup(jPanel34Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel34Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(lblSelection19))
                    .addGroup(jPanel34Layout.createSequentialGroup()
                        .addGap(178, 178, 178)
                        .addComponent(lblColor62)
                        .addGap(18, 18, 18)
                        .addGroup(jPanel34Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel99)
                            .addComponent(CTestR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(CTestCalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(29, 29, 29)
                        .addGroup(jPanel34Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(CTestG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel100)
                            .addComponent(CTestCalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(33, 33, 33)
                        .addGroup(jPanel34Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(CTestCalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel101)
                            .addComponent(CTestB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanel34Layout.createSequentialGroup()
                        .addGap(196, 196, 196)
                        .addComponent(colorTest, javax.swing.GroupLayout.PREFERRED_SIZE, 263, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel34Layout.setVerticalGroup(
            jPanel34Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel34Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lblSelection19)
                .addGap(10, 10, 10)
                .addComponent(colorTest, javax.swing.GroupLayout.PREFERRED_SIZE, 177, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanel34Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel34Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(jPanel34Layout.createSequentialGroup()
                            .addComponent(jLabel99)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(CTestR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addGroup(jPanel34Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(CTestCalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(lblColor62)))
                        .addGroup(jPanel34Layout.createSequentialGroup()
                            .addComponent(jLabel101)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(CTestB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(CTestCalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel34Layout.createSequentialGroup()
                        .addComponent(jLabel100)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(CTestG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(CTestCalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(25, 25, 25))
        );

        javax.swing.GroupLayout jPanel14Layout = new javax.swing.GroupLayout(jPanel14);
        jPanel14.setLayout(jPanel14Layout);
        jPanel14Layout.setHorizontalGroup(
            jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel14Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel14Layout.createSequentialGroup()
                        .addComponent(jPanel13, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel14Layout.createSequentialGroup()
                        .addComponent(jPanel33, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanel34, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addContainerGap())
        );
        jPanel14Layout.setVerticalGroup(
            jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel14Layout.createSequentialGroup()
                .addGap(0, 13, Short.MAX_VALUE)
                .addGroup(jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jPanel13, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel14Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jPanel33, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel34, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(30, 30, 30))
        );

        jTabbedPane1.addTab("Configuración", jPanel14);

        jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C1G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocustLostC1G(evt);
            }
        });

        color1.setEditable(false);
        color1.setBackground(new java.awt.Color(0, 0, 0));
        color1.setBorder(null);

        C1B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC1B(evt);
            }
        });

        Color1lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color1lbl.setText("ALFA DELTA");

        jLabel1.setText("R");

        jLabel2.setText("G");

        jLabel3.setText("B");

        C1CalR.setCursor(new java.awt.Cursor(java.awt.Cursor.CROSSHAIR_CURSOR));
        C1CalR.setName("cal"); // NOI18N

        C1CalB.setName("cal"); // NOI18N
        C1CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC1B(evt);
            }
        });

        C1CalG.setName("cal"); // NOI18N
        C1CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC1G(evt);
            }
        });

        lblColor2.setText("Cal.");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(lblColor2)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addComponent(jLabel1)
                                .addGap(10, 10, 10)
                                .addComponent(color1, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jPanel1Layout.createSequentialGroup()
                                        .addComponent(C1R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addGroup(jPanel1Layout.createSequentialGroup()
                                                .addGap(10, 10, 10)
                                                .addComponent(jLabel2))
                                            .addGroup(jPanel1Layout.createSequentialGroup()
                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                .addComponent(C1G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                        .addGap(10, 10, 10))
                                    .addGroup(jPanel1Layout.createSequentialGroup()
                                        .addComponent(C1CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C1CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)))
                                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C1CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel3)
                                    .addComponent(C1B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color1lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color1lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color1, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel1)
                    .addComponent(jLabel2)
                    .addComponent(jLabel3))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C1R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C1G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C1B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C1CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor2))
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C1CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C1CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel4.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C2G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocustLostC2G(evt);
            }
        });

        color2.setEditable(false);
        color2.setBackground(new java.awt.Color(0, 0, 0));
        color2.setBorder(null);

        C2B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC2B(evt);
            }
        });

        C2R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC2R(evt);
            }
        });

        Color2lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color2lbl.setText("ALFA THETA");

        jLabel10.setText("R");

        jLabel11.setText("G");

        jLabel12.setText("B");

        C2CalR.setName("cal"); // NOI18N
        C2CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC2R(evt);
            }
        });

        C2CalB.setName("cal"); // NOI18N
        C2CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC2B(evt);
            }
        });

        C2CalG.setName("cal"); // NOI18N
        C2CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC2G(evt);
            }
        });

        lblColor8.setText("Cal.");

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addComponent(lblColor8)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel4Layout.createSequentialGroup()
                                .addComponent(jLabel10)
                                .addGap(10, 10, 10)
                                .addComponent(color2, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel4Layout.createSequentialGroup()
                                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel4Layout.createSequentialGroup()
                                        .addComponent(C2R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C2G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel11)))
                                    .addGroup(jPanel4Layout.createSequentialGroup()
                                        .addComponent(C2CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C2CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C2CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel12)
                                    .addComponent(C2B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color2lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color2lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color2, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel10)
                    .addComponent(jLabel11)
                    .addComponent(jLabel12))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C2R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C2G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C2B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C2CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor8))
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C2CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C2CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel3.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C3G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocustLostC3G(evt);
            }
        });

        color3.setEditable(false);
        color3.setBackground(new java.awt.Color(0, 0, 0));
        color3.setBorder(null);

        C3B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC3B(evt);
            }
        });

        C3R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC3R(evt);
            }
        });

        Color3lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color3lbl.setText("ALFA");

        jLabel7.setText("R");

        jLabel8.setText("G");

        jLabel9.setText("B");

        C3CalR.setName("cal"); // NOI18N
        C3CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC3R(evt);
            }
        });

        C3CalB.setName("cal"); // NOI18N
        C3CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC3B(evt);
            }
        });

        C3CalG.setName("cal"); // NOI18N
        C3CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC3G(evt);
            }
        });

        lblColor6.setText("Cal.");

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addComponent(lblColor6)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel3Layout.createSequentialGroup()
                                .addComponent(jLabel7)
                                .addGap(10, 10, 10)
                                .addComponent(color3, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel3Layout.createSequentialGroup()
                                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel3Layout.createSequentialGroup()
                                        .addComponent(C3R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C3G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel8)))
                                    .addGroup(jPanel3Layout.createSequentialGroup()
                                        .addComponent(C3CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C3CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C3CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel9)
                                    .addComponent(C3B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color3lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color3lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color3, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel7)
                    .addComponent(jLabel8)
                    .addComponent(jLabel9))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C3R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C3G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C3B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C3CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor6))
                    .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C3CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C3CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel7.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C4G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC4G(evt);
            }
        });

        color4.setEditable(false);
        color4.setBackground(new java.awt.Color(0, 0, 0));
        color4.setBorder(null);

        C4B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC4B(evt);
            }
        });

        C4R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC4R(evt);
            }
        });

        Color4lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color4lbl.setText("DELTA");

        jLabel19.setText("R");

        jLabel20.setText("G");

        jLabel21.setText("B");

        C4CalR.setName("cal"); // NOI18N
        C4CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC4R(evt);
            }
        });

        C4CalB.setToolTipText("");
        C4CalB.setName("cal"); // NOI18N
        C4CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC4B(evt);
            }
        });

        C4CalG.setName("cal"); // NOI18N
        C4CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC4G(evt);
            }
        });

        lblColor14.setText("Cal.");

        javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
        jPanel7.setLayout(jPanel7Layout);
        jPanel7Layout.setHorizontalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel7Layout.createSequentialGroup()
                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel7Layout.createSequentialGroup()
                        .addComponent(lblColor14)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel7Layout.createSequentialGroup()
                                .addComponent(jLabel19)
                                .addGap(10, 10, 10)
                                .addComponent(color4, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel7Layout.createSequentialGroup()
                                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel7Layout.createSequentialGroup()
                                        .addComponent(C4R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C4G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel20)))
                                    .addGroup(jPanel7Layout.createSequentialGroup()
                                        .addComponent(C4CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C4CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C4CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel21)
                                    .addComponent(C4B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel7Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color4lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel7Layout.setVerticalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel7Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color4lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color4, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel19)
                    .addComponent(jLabel20)
                    .addComponent(jLabel21))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C4R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C4G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C4B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C4CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor14))
                    .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C4CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C4CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel6.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C5G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC5G(evt);
            }
        });

        color5.setEditable(false);
        color5.setBackground(new java.awt.Color(0, 0, 0));
        color5.setBorder(null);

        C5B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC5B(evt);
            }
        });

        C5R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC5R(evt);
            }
        });

        Color5lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color5lbl.setText("THETA");

        jLabel16.setText("R");

        jLabel17.setText("G");

        jLabel18.setText("B");

        C5CalR.setName("cal"); // NOI18N
        C5CalR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                C5CalRActionPerformed(evt);
            }
        });
        C5CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC5R(evt);
            }
        });

        C5CalB.setName("cal"); // NOI18N
        C5CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC5B(evt);
            }
        });

        C5CalG.setName("cal"); // NOI18N
        C5CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC5G(evt);
            }
        });

        lblColor12.setText("Cal.");

        javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6);
        jPanel6.setLayout(jPanel6Layout);
        jPanel6Layout.setHorizontalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel6Layout.createSequentialGroup()
                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel6Layout.createSequentialGroup()
                        .addComponent(lblColor12)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel6Layout.createSequentialGroup()
                                .addComponent(jLabel16)
                                .addGap(10, 10, 10)
                                .addComponent(color5, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel6Layout.createSequentialGroup()
                                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel6Layout.createSequentialGroup()
                                        .addComponent(C5R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C5G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel17)))
                                    .addGroup(jPanel6Layout.createSequentialGroup()
                                        .addComponent(C5CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C5CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C5CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel18)
                                    .addComponent(C5B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel6Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color5lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel6Layout.setVerticalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel6Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color5lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color5, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel16)
                    .addComponent(jLabel17)
                    .addComponent(jLabel18))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C5R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C5G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C5B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C5CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor12))
                    .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C5CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C5CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel12.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C8G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC8G(evt);
            }
        });

        color8.setEditable(false);
        color8.setBackground(new java.awt.Color(0, 0, 0));
        color8.setBorder(null);

        C8B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC8B(evt);
            }
        });

        C8R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC8G(evt);
            }
        });

        Color8lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color8lbl.setText("MU UPSILON");

        jLabel34.setText("R");

        jLabel35.setText("G");

        jLabel36.setText("B");

        C8CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC8R(evt);
            }
        });

        C8CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC8B(evt);
            }
        });

        C8CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC8G(evt);
            }
        });

        lblColor24.setText("Cal.");

        javax.swing.GroupLayout jPanel12Layout = new javax.swing.GroupLayout(jPanel12);
        jPanel12.setLayout(jPanel12Layout);
        jPanel12Layout.setHorizontalGroup(
            jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel12Layout.createSequentialGroup()
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel12Layout.createSequentialGroup()
                        .addComponent(lblColor24)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel12Layout.createSequentialGroup()
                                .addComponent(jLabel34)
                                .addGap(10, 10, 10)
                                .addComponent(color8, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel12Layout.createSequentialGroup()
                                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel12Layout.createSequentialGroup()
                                        .addComponent(C8R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C8G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel35)))
                                    .addGroup(jPanel12Layout.createSequentialGroup()
                                        .addComponent(C8CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C8CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C8CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel36)
                                    .addComponent(C8B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel12Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color8lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel12Layout.setVerticalGroup(
            jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel12Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color8lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color8, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel34)
                    .addComponent(jLabel35)
                    .addComponent(jLabel36))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C8R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C8G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C8B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C8CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor24))
                    .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C8CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C8CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel11.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C9G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC9G(evt);
            }
        });

        color9.setEditable(false);
        color9.setBackground(new java.awt.Color(0, 0, 0));
        color9.setBorder(null);

        C9B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC9B(evt);
            }
        });

        C9R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC9R(evt);
            }
        });

        Color9lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color9lbl.setText("MU DELTA");

        jLabel31.setText("R");

        jLabel32.setText("G");

        jLabel33.setText("B");

        C9CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC9R(evt);
            }
        });

        C9CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC9B(evt);
            }
        });

        C9CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC9G(evt);
            }
        });

        lblColor22.setText("Cal.");

        javax.swing.GroupLayout jPanel11Layout = new javax.swing.GroupLayout(jPanel11);
        jPanel11.setLayout(jPanel11Layout);
        jPanel11Layout.setHorizontalGroup(
            jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel11Layout.createSequentialGroup()
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel11Layout.createSequentialGroup()
                        .addComponent(lblColor22)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel11Layout.createSequentialGroup()
                                .addComponent(jLabel31)
                                .addGap(10, 10, 10)
                                .addComponent(color9, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel11Layout.createSequentialGroup()
                                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel11Layout.createSequentialGroup()
                                        .addComponent(C9R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C9G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel32)))
                                    .addGroup(jPanel11Layout.createSequentialGroup()
                                        .addComponent(C9CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C9CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C9CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel33)
                                    .addComponent(C9B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel11Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color9lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel11Layout.setVerticalGroup(
            jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel11Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color9lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color9, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel31)
                    .addComponent(jLabel32)
                    .addComponent(jLabel33))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C9R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C9G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C9B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C9CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor22))
                    .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C9CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C9CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel10.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C10G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC10G(evt);
            }
        });

        color10.setEditable(false);
        color10.setBackground(new java.awt.Color(0, 0, 0));
        color10.setBorder(null);

        C10B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC10B(evt);
            }
        });

        C10R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC10R(evt);
            }
        });

        Color10lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color10lbl.setText("MU PI");

        jLabel28.setText("R");

        jLabel29.setText("G");

        jLabel30.setText("B");

        C10CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC10R(evt);
            }
        });

        C10CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC10B(evt);
            }
        });

        C10CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC10G(evt);
            }
        });

        lblColor20.setText("Cal.");

        javax.swing.GroupLayout jPanel10Layout = new javax.swing.GroupLayout(jPanel10);
        jPanel10.setLayout(jPanel10Layout);
        jPanel10Layout.setHorizontalGroup(
            jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel10Layout.createSequentialGroup()
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel10Layout.createSequentialGroup()
                        .addComponent(lblColor20)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel10Layout.createSequentialGroup()
                                .addComponent(jLabel28)
                                .addGap(10, 10, 10)
                                .addComponent(color10, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel10Layout.createSequentialGroup()
                                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel10Layout.createSequentialGroup()
                                        .addComponent(C10R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C10G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel29)))
                                    .addGroup(jPanel10Layout.createSequentialGroup()
                                        .addComponent(C10CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C10CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C10CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel30)
                                    .addComponent(C10B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel10Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color10lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel10Layout.setVerticalGroup(
            jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel10Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color10lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color10, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel28)
                    .addComponent(jLabel29)
                    .addComponent(jLabel30))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C10R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C10G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C10B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C10CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor20))
                    .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C10CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C10CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel9.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C11G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC11G(evt);
            }
        });

        color11.setEditable(false);
        color11.setBackground(new java.awt.Color(0, 0, 0));
        color11.setBorder(null);

        C11B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC11B(evt);
            }
        });

        C11R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC11R(evt);
            }
        });

        Color11lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color11lbl.setText("PI");

        jLabel25.setText("R");

        jLabel26.setText("G");

        jLabel27.setText("B");

        C11CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC11R(evt);
            }
        });

        C11CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC11B(evt);
            }
        });

        C11CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC11G(evt);
            }
        });

        lblColor18.setText("Cal.");

        javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
        jPanel9.setLayout(jPanel9Layout);
        jPanel9Layout.setHorizontalGroup(
            jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel9Layout.createSequentialGroup()
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel9Layout.createSequentialGroup()
                        .addComponent(lblColor18)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel9Layout.createSequentialGroup()
                                .addComponent(jLabel25)
                                .addGap(10, 10, 10)
                                .addComponent(color11, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel9Layout.createSequentialGroup()
                                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel9Layout.createSequentialGroup()
                                        .addComponent(C11R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C11G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel26)))
                                    .addGroup(jPanel9Layout.createSequentialGroup()
                                        .addComponent(C11CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C11CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C11CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel27)
                                    .addComponent(C11B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel9Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color11lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel9Layout.setVerticalGroup(
            jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel9Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color11lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color11, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel25)
                    .addComponent(jLabel26)
                    .addComponent(jLabel27))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C11R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C11G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C11B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C11CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor18))
                    .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C11CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C11CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel8.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C12G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC12G(evt);
            }
        });

        color12.setEditable(false);
        color12.setBackground(new java.awt.Color(0, 0, 0));
        color12.setBorder(null);

        C12B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC12B(evt);
            }
        });

        C12R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC12R(evt);
            }
        });

        Color12lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color12lbl.setText("OMEGA");

        jLabel22.setText("R");

        jLabel23.setText("G");

        jLabel24.setText("B");

        C12CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC12R(evt);
            }
        });

        C12CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC12B(evt);
            }
        });

        C12CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC12G(evt);
            }
        });

        lblColor16.setText("Cal.");

        javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
        jPanel8.setLayout(jPanel8Layout);
        jPanel8Layout.setHorizontalGroup(
            jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel8Layout.createSequentialGroup()
                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel8Layout.createSequentialGroup()
                        .addComponent(lblColor16)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel8Layout.createSequentialGroup()
                                .addComponent(jLabel22)
                                .addGap(10, 10, 10)
                                .addComponent(color12, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel8Layout.createSequentialGroup()
                                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel8Layout.createSequentialGroup()
                                        .addComponent(C12R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C12G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel23)))
                                    .addGroup(jPanel8Layout.createSequentialGroup()
                                        .addComponent(C12CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C12CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C12CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel24)
                                    .addComponent(C12B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel8Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color12lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel8Layout.setVerticalGroup(
            jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel8Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color12lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color12, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel22)
                    .addComponent(jLabel23)
                    .addComponent(jLabel24))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C12R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C12G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C12B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C12CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor16))
                    .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C12CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C12CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel15.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C15G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC15G(evt);
            }
        });

        color15.setEditable(false);
        color15.setBackground(new java.awt.Color(0, 0, 0));
        color15.setBorder(null);

        C15B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC15B(evt);
            }
        });

        C15R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC15R(evt);
            }
        });

        Color15lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color15lbl.setText("UPSILON OMEGA");

        jLabel37.setText("R");

        jLabel38.setText("G");

        jLabel39.setText("B");

        C15CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC15R(evt);
            }
        });

        C15CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC15B(evt);
            }
        });

        C15CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC15G(evt);
            }
        });

        lblColor26.setText("Cal.");

        javax.swing.GroupLayout jPanel15Layout = new javax.swing.GroupLayout(jPanel15);
        jPanel15.setLayout(jPanel15Layout);
        jPanel15Layout.setHorizontalGroup(
            jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel15Layout.createSequentialGroup()
                .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel15Layout.createSequentialGroup()
                        .addComponent(lblColor26)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel15Layout.createSequentialGroup()
                                .addComponent(jLabel37)
                                .addGap(10, 10, 10)
                                .addComponent(color15, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel15Layout.createSequentialGroup()
                                .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel15Layout.createSequentialGroup()
                                        .addComponent(C15R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C15G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel38)))
                                    .addGroup(jPanel15Layout.createSequentialGroup()
                                        .addComponent(C15CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C15CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C15CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel39)
                                    .addComponent(C15B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel15Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color15lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel15Layout.setVerticalGroup(
            jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel15Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color15lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color15, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel37)
                    .addComponent(jLabel38)
                    .addComponent(jLabel39))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C15R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C15G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C15B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C15CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor26))
                    .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C15CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C15CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel16.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C16G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC16G(evt);
            }
        });

        color16.setEditable(false);
        color16.setBackground(new java.awt.Color(0, 0, 0));
        color16.setBorder(null);

        C16B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC16B(evt);
            }
        });

        C16R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC16R(evt);
            }
        });

        Color16lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color16lbl.setText("ALFA OMEGA");

        jLabel40.setText("R");

        jLabel41.setText("G");

        jLabel42.setText("B");

        C16CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC16R(evt);
            }
        });

        C16CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC16B(evt);
            }
        });

        C16CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC16G(evt);
            }
        });

        lblColor28.setText("Cal.");

        javax.swing.GroupLayout jPanel16Layout = new javax.swing.GroupLayout(jPanel16);
        jPanel16.setLayout(jPanel16Layout);
        jPanel16Layout.setHorizontalGroup(
            jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel16Layout.createSequentialGroup()
                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel16Layout.createSequentialGroup()
                        .addComponent(lblColor28)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel16Layout.createSequentialGroup()
                                .addComponent(jLabel40)
                                .addGap(10, 10, 10)
                                .addComponent(color16, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel16Layout.createSequentialGroup()
                                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel16Layout.createSequentialGroup()
                                        .addComponent(C16R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C16G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel41)))
                                    .addGroup(jPanel16Layout.createSequentialGroup()
                                        .addComponent(C16CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C16CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C16CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel42)
                                    .addComponent(C16B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel16Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color16lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel16Layout.setVerticalGroup(
            jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel16Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color16lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color16, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel40)
                    .addComponent(jLabel41)
                    .addComponent(jLabel42))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C16R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C16G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C16B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C16CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor28))
                    .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C16CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C16CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel17.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C17G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC17G(evt);
            }
        });

        color17.setEditable(false);
        color17.setBackground(new java.awt.Color(0, 0, 0));
        color17.setBorder(null);

        C17B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC17B(evt);
            }
        });

        C17R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC17R(evt);
            }
        });

        Color17lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color17lbl.setText("LAMBDA");

        jLabel43.setText("R");

        jLabel44.setText("G");

        jLabel45.setText("B");

        C17CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC17R(evt);
            }
        });

        C17CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC17B(evt);
            }
        });

        C17CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC17G(evt);
            }
        });

        lblColor30.setText("Cal.");

        javax.swing.GroupLayout jPanel17Layout = new javax.swing.GroupLayout(jPanel17);
        jPanel17.setLayout(jPanel17Layout);
        jPanel17Layout.setHorizontalGroup(
            jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel17Layout.createSequentialGroup()
                .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel17Layout.createSequentialGroup()
                        .addComponent(lblColor30)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel17Layout.createSequentialGroup()
                                .addComponent(jLabel43)
                                .addGap(10, 10, 10)
                                .addComponent(color17, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel17Layout.createSequentialGroup()
                                .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel17Layout.createSequentialGroup()
                                        .addComponent(C17R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C17G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel44)))
                                    .addGroup(jPanel17Layout.createSequentialGroup()
                                        .addComponent(C17CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C17CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C17CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel45)
                                    .addComponent(C17B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel17Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color17lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel17Layout.setVerticalGroup(
            jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel17Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color17lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color17, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel43)
                    .addComponent(jLabel44)
                    .addComponent(jLabel45))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C17R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C17G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C17B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C17CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor30))
                    .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C17CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C17CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel18.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C18G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC18G(evt);
            }
        });

        color18.setEditable(false);
        color18.setBackground(new java.awt.Color(0, 0, 0));
        color18.setBorder(null);

        C18B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC18B(evt);
            }
        });

        C18R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC18R(evt);
            }
        });

        Color18lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color18lbl.setText("DEPRESOR");

        jLabel46.setText("R");

        jLabel47.setText("G");

        jLabel48.setText("B");

        C18CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC18R(evt);
            }
        });

        C18CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC18B(evt);
            }
        });

        C18CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC18G(evt);
            }
        });

        lblColor32.setText("Cal.");

        javax.swing.GroupLayout jPanel18Layout = new javax.swing.GroupLayout(jPanel18);
        jPanel18.setLayout(jPanel18Layout);
        jPanel18Layout.setHorizontalGroup(
            jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel18Layout.createSequentialGroup()
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel18Layout.createSequentialGroup()
                        .addComponent(lblColor32)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel18Layout.createSequentialGroup()
                                .addComponent(jLabel46)
                                .addGap(10, 10, 10)
                                .addComponent(color18, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel18Layout.createSequentialGroup()
                                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel18Layout.createSequentialGroup()
                                        .addComponent(C18R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C18G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel47)))
                                    .addGroup(jPanel18Layout.createSequentialGroup()
                                        .addComponent(C18CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C18CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C18CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel48)
                                    .addComponent(C18B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel18Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color18lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel18Layout.setVerticalGroup(
            jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel18Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color18lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color18, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel46)
                    .addComponent(jLabel47)
                    .addComponent(jLabel48))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C18R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C18G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C18B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C18CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor32))
                    .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C18CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C18CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel19.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C19G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC19G(evt);
            }
        });

        color19.setEditable(false);
        color19.setBackground(new java.awt.Color(0, 0, 0));
        color19.setBorder(null);

        C19B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC19B(evt);
            }
        });

        C19R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC19R(evt);
            }
        });

        Color19lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color19lbl.setText("ESTIMULANTE");

        jLabel49.setText("R");

        jLabel50.setText("G");

        jLabel51.setText("B");

        C19CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC19R(evt);
            }
        });

        C19CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC19B(evt);
            }
        });

        C19CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC19G(evt);
            }
        });

        lblColor34.setText("Cal.");

        javax.swing.GroupLayout jPanel19Layout = new javax.swing.GroupLayout(jPanel19);
        jPanel19.setLayout(jPanel19Layout);
        jPanel19Layout.setHorizontalGroup(
            jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel19Layout.createSequentialGroup()
                .addGroup(jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel19Layout.createSequentialGroup()
                        .addComponent(lblColor34)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel19Layout.createSequentialGroup()
                                .addComponent(jLabel49)
                                .addGap(10, 10, 10)
                                .addComponent(color19, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel19Layout.createSequentialGroup()
                                .addGroup(jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel19Layout.createSequentialGroup()
                                        .addComponent(C19R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C19G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel50)))
                                    .addGroup(jPanel19Layout.createSequentialGroup()
                                        .addComponent(C19CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C19CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C19CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel51)
                                    .addComponent(C19B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel19Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color19lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel19Layout.setVerticalGroup(
            jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel19Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color19lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color19, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel49)
                    .addComponent(jLabel50)
                    .addComponent(jLabel51))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C19R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C19G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C19B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C19CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor34))
                    .addGroup(jPanel19Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C19CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C19CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel20.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C6G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC6G(evt);
            }
        });

        color6.setEditable(false);
        color6.setBackground(new java.awt.Color(0, 0, 0));
        color6.setBorder(null);

        C6B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC6B(evt);
            }
        });

        C6R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC6R(evt);
            }
        });

        Color6lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color6lbl.setText("MU THETA");

        jLabel52.setText("R");

        jLabel53.setText("G");

        jLabel54.setText("B");

        C6CalR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                C6CalRActionPerformed(evt);
            }
        });
        C6CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC6R(evt);
            }
        });

        C6CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC6B(evt);
            }
        });

        C6CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC6G(evt);
            }
        });

        lblColor36.setText("Cal.");

        javax.swing.GroupLayout jPanel20Layout = new javax.swing.GroupLayout(jPanel20);
        jPanel20.setLayout(jPanel20Layout);
        jPanel20Layout.setHorizontalGroup(
            jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel20Layout.createSequentialGroup()
                .addGroup(jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel20Layout.createSequentialGroup()
                        .addComponent(lblColor36)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel20Layout.createSequentialGroup()
                                .addComponent(jLabel52)
                                .addGap(10, 10, 10)
                                .addComponent(color6, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel20Layout.createSequentialGroup()
                                .addGroup(jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel20Layout.createSequentialGroup()
                                        .addComponent(C6R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C6G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel53)))
                                    .addGroup(jPanel20Layout.createSequentialGroup()
                                        .addComponent(C6CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C6CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C6CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel54)
                                    .addComponent(C6B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel20Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color6lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel20Layout.setVerticalGroup(
            jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel20Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color6lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color6, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel52)
                    .addComponent(jLabel53)
                    .addComponent(jLabel54))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C6R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C6G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C6B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C6CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor36))
                    .addGroup(jPanel20Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C6CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C6CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel21.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C13G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC13G(evt);
            }
        });

        color13.setEditable(false);
        color13.setBackground(new java.awt.Color(0, 0, 0));
        color13.setBorder(null);

        C13B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC13B(evt);
            }
        });

        C13R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC13R(evt);
            }
        });

        Color13lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color13lbl.setText("UPSILON");

        jLabel55.setText("R");

        jLabel56.setText("G");

        jLabel57.setText("B");

        C13CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC13R(evt);
            }
        });

        C13CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC13B(evt);
            }
        });

        C13CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC13G(evt);
            }
        });

        lblColor38.setText("Cal.");

        javax.swing.GroupLayout jPanel21Layout = new javax.swing.GroupLayout(jPanel21);
        jPanel21.setLayout(jPanel21Layout);
        jPanel21Layout.setHorizontalGroup(
            jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel21Layout.createSequentialGroup()
                .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel21Layout.createSequentialGroup()
                        .addComponent(lblColor38)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel21Layout.createSequentialGroup()
                                .addComponent(jLabel55)
                                .addGap(10, 10, 10)
                                .addComponent(color13, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel21Layout.createSequentialGroup()
                                .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel21Layout.createSequentialGroup()
                                        .addComponent(C13R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C13G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel56)))
                                    .addGroup(jPanel21Layout.createSequentialGroup()
                                        .addComponent(C13CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C13CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C13CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel57)
                                    .addComponent(C13B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel21Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color13lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel21Layout.setVerticalGroup(
            jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel21Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color13lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color13, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel55)
                    .addComponent(jLabel56)
                    .addComponent(jLabel57))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C13R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C13G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C13B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C13CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor38))
                    .addGroup(jPanel21Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C13CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C13CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel22.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C20G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC20G(evt);
            }
        });

        color20.setEditable(false);
        color20.setBackground(new java.awt.Color(0, 0, 0));
        color20.setBorder(null);

        C20B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC20B(evt);
            }
        });

        C20R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC20R(evt);
            }
        });

        Color20lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color20lbl.setText("NASCETIZ");

        jLabel58.setText("R");

        jLabel59.setText("G");

        jLabel60.setText("B");

        C20CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC20R(evt);
            }
        });

        C20CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC20B(evt);
            }
        });

        C20CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC20G(evt);
            }
        });

        lblColor40.setText("Cal.");

        javax.swing.GroupLayout jPanel22Layout = new javax.swing.GroupLayout(jPanel22);
        jPanel22.setLayout(jPanel22Layout);
        jPanel22Layout.setHorizontalGroup(
            jPanel22Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel22Layout.createSequentialGroup()
                .addGroup(jPanel22Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel22Layout.createSequentialGroup()
                        .addComponent(lblColor40)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel22Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel22Layout.createSequentialGroup()
                                .addComponent(jLabel58)
                                .addGap(10, 10, 10)
                                .addComponent(color20, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel22Layout.createSequentialGroup()
                                .addGroup(jPanel22Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel22Layout.createSequentialGroup()
                                        .addComponent(C20R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel22Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C20G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel59)))
                                    .addGroup(jPanel22Layout.createSequentialGroup()
                                        .addComponent(C20CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C20CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel22Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C20CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel60)
                                    .addComponent(C20B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel22Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color20lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel22Layout.setVerticalGroup(
            jPanel22Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel22Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color20lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color20, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel22Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel58)
                    .addComponent(jLabel59)
                    .addComponent(jLabel60))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel22Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C20R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C20G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C20B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel22Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel22Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C20CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor40))
                    .addGroup(jPanel22Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C20CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C20CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel23.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C21G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC21G(evt);
            }
        });

        color21.setEditable(false);
        color21.setBackground(new java.awt.Color(0, 0, 0));
        color21.setBorder(null);

        C21B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC21B(evt);
            }
        });

        C21R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC21R(evt);
            }
        });

        Color21lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color21lbl.setText("SPARE 1");

        jLabel61.setText("R");

        jLabel62.setText("G");

        jLabel63.setText("B");

        C21CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC21R(evt);
            }
        });

        C21CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC21B(evt);
            }
        });

        C21CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC21G(evt);
            }
        });

        lblColor42.setText("Cal.");

        javax.swing.GroupLayout jPanel23Layout = new javax.swing.GroupLayout(jPanel23);
        jPanel23.setLayout(jPanel23Layout);
        jPanel23Layout.setHorizontalGroup(
            jPanel23Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel23Layout.createSequentialGroup()
                .addGroup(jPanel23Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel23Layout.createSequentialGroup()
                        .addComponent(lblColor42)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel23Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel23Layout.createSequentialGroup()
                                .addComponent(jLabel61)
                                .addGap(10, 10, 10)
                                .addComponent(color21, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel23Layout.createSequentialGroup()
                                .addGroup(jPanel23Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel23Layout.createSequentialGroup()
                                        .addComponent(C21R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel23Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C21G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel62)))
                                    .addGroup(jPanel23Layout.createSequentialGroup()
                                        .addComponent(C21CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C21CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel23Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C21CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel63)
                                    .addComponent(C21B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel23Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color21lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel23Layout.setVerticalGroup(
            jPanel23Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel23Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color21lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color21, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel23Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel61)
                    .addComponent(jLabel62)
                    .addComponent(jLabel63))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel23Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C21R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C21G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C21B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel23Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel23Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C21CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor42))
                    .addGroup(jPanel23Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C21CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C21CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel24.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C14G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC14G(evt);
            }
        });

        color14.setEditable(false);
        color14.setBackground(new java.awt.Color(0, 0, 0));
        color14.setBorder(null);

        C14B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC14B(evt);
            }
        });

        C14R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC14R(evt);
            }
        });

        Color14lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color14lbl.setText("PI UPSILON");

        jLabel64.setText("R");

        jLabel65.setText("G");

        jLabel66.setText("B");

        C14CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC14R(evt);
            }
        });

        C14CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC14B(evt);
            }
        });

        C14CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC14G(evt);
            }
        });

        lblColor44.setText("Cal.");

        javax.swing.GroupLayout jPanel24Layout = new javax.swing.GroupLayout(jPanel24);
        jPanel24.setLayout(jPanel24Layout);
        jPanel24Layout.setHorizontalGroup(
            jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel24Layout.createSequentialGroup()
                .addGroup(jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel24Layout.createSequentialGroup()
                        .addComponent(lblColor44)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel24Layout.createSequentialGroup()
                                .addComponent(jLabel64)
                                .addGap(10, 10, 10)
                                .addComponent(color14, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel24Layout.createSequentialGroup()
                                .addGroup(jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel24Layout.createSequentialGroup()
                                        .addComponent(C14R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C14G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel65)))
                                    .addGroup(jPanel24Layout.createSequentialGroup()
                                        .addComponent(C14CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C14CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C14CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel66)
                                    .addComponent(C14B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel24Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color14lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel24Layout.setVerticalGroup(
            jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel24Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color14lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color14, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel64)
                    .addComponent(jLabel65)
                    .addComponent(jLabel66))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C14R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C14G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C14B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C14CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor44))
                    .addGroup(jPanel24Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C14CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C14CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel25.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C7G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC7G(evt);
            }
        });

        color7.setEditable(false);
        color7.setBackground(new java.awt.Color(0, 0, 0));
        color7.setBorder(null);

        C7B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC7B(evt);
            }
        });

        C7R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC7R(evt);
            }
        });

        Color7lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color7lbl.setText("MU");

        jLabel67.setText("R");

        jLabel68.setText("G");

        jLabel69.setText("B");

        C7CalR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                C7CalRActionPerformed(evt);
            }
        });
        C7CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC7R(evt);
            }
        });

        C7CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC7B(evt);
            }
        });

        C7CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC7G(evt);
            }
        });

        lblColor46.setText("Cal.");

        javax.swing.GroupLayout jPanel25Layout = new javax.swing.GroupLayout(jPanel25);
        jPanel25.setLayout(jPanel25Layout);
        jPanel25Layout.setHorizontalGroup(
            jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel25Layout.createSequentialGroup()
                .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel25Layout.createSequentialGroup()
                        .addComponent(lblColor46)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel25Layout.createSequentialGroup()
                                .addComponent(jLabel67)
                                .addGap(10, 10, 10)
                                .addComponent(color7, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel25Layout.createSequentialGroup()
                                .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel25Layout.createSequentialGroup()
                                        .addComponent(C7R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C7G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel68)))
                                    .addGroup(jPanel25Layout.createSequentialGroup()
                                        .addComponent(C7CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C7CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C7CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel69)
                                    .addComponent(C7B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel25Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color7lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel25Layout.setVerticalGroup(
            jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel25Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color7lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color7, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel67)
                    .addComponent(jLabel68)
                    .addComponent(jLabel69))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C7R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C7G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C7B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C7CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor46))
                    .addGroup(jPanel25Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C7CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C7CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel26.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C27G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC27G(evt);
            }
        });

        color27.setEditable(false);
        color27.setBackground(new java.awt.Color(0, 0, 0));
        color27.setBorder(null);

        C27B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC27B(evt);
            }
        });

        C27R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC27R(evt);
            }
        });

        Color27lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color27lbl.setText("SPARE 7");

        jLabel70.setText("R");

        jLabel71.setText("G");

        jLabel72.setText("B");

        C27CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC27R(evt);
            }
        });

        C27CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC27B(evt);
            }
        });

        C27CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC27G(evt);
            }
        });

        lblColor48.setText("Cal.");

        javax.swing.GroupLayout jPanel26Layout = new javax.swing.GroupLayout(jPanel26);
        jPanel26.setLayout(jPanel26Layout);
        jPanel26Layout.setHorizontalGroup(
            jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel26Layout.createSequentialGroup()
                .addGroup(jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel26Layout.createSequentialGroup()
                        .addComponent(lblColor48)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel26Layout.createSequentialGroup()
                                .addComponent(jLabel70)
                                .addGap(10, 10, 10)
                                .addComponent(color27, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel26Layout.createSequentialGroup()
                                .addGroup(jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel26Layout.createSequentialGroup()
                                        .addComponent(C27R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C27G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel71)))
                                    .addGroup(jPanel26Layout.createSequentialGroup()
                                        .addComponent(C27CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C27CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C27CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel72)
                                    .addComponent(C27B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel26Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color27lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel26Layout.setVerticalGroup(
            jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel26Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color27lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color27, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel70)
                    .addComponent(jLabel71)
                    .addComponent(jLabel72))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C27R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C27G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C27B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C27CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor48))
                    .addGroup(jPanel26Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C27CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C27CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel27.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C28G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC28G(evt);
            }
        });

        color28.setEditable(false);
        color28.setBackground(new java.awt.Color(0, 0, 0));
        color28.setBorder(null);

        C28B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC28B(evt);
            }
        });

        C28R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC28R(evt);
            }
        });

        Color28lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color28lbl.setText("SPARE 8");

        jLabel73.setText("R");

        jLabel74.setText("G");

        jLabel75.setText("B");

        C28CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC28R(evt);
            }
        });

        C28CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC28B(evt);
            }
        });

        C28CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC28G(evt);
            }
        });

        lblColor50.setText("Cal.");

        javax.swing.GroupLayout jPanel27Layout = new javax.swing.GroupLayout(jPanel27);
        jPanel27.setLayout(jPanel27Layout);
        jPanel27Layout.setHorizontalGroup(
            jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel27Layout.createSequentialGroup()
                .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel27Layout.createSequentialGroup()
                        .addComponent(lblColor50)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel27Layout.createSequentialGroup()
                                .addComponent(jLabel73)
                                .addGap(10, 10, 10)
                                .addComponent(color28, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel27Layout.createSequentialGroup()
                                .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel27Layout.createSequentialGroup()
                                        .addComponent(C28R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C28G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel74)))
                                    .addGroup(jPanel27Layout.createSequentialGroup()
                                        .addComponent(C28CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C28CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C28CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel75)
                                    .addComponent(C28B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel27Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color28lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel27Layout.setVerticalGroup(
            jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel27Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color28lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color28, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel73)
                    .addComponent(jLabel74)
                    .addComponent(jLabel75))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C28R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C28G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C28B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C28CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor50))
                    .addGroup(jPanel27Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C28CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C28CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel28.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C26G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC26G(evt);
            }
        });

        color26.setEditable(false);
        color26.setBackground(new java.awt.Color(0, 0, 0));
        color26.setBorder(null);

        C26B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC26B(evt);
            }
        });

        C26R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC26R(evt);
            }
        });

        Color26lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color26lbl.setText("SPARE 6");

        jLabel76.setText("R");

        jLabel77.setText("G");

        jLabel78.setText("B");

        C26CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC26R(evt);
            }
        });

        C26CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC26B(evt);
            }
        });

        C26CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC26G(evt);
            }
        });

        lblColor52.setText("Cal.");

        javax.swing.GroupLayout jPanel28Layout = new javax.swing.GroupLayout(jPanel28);
        jPanel28.setLayout(jPanel28Layout);
        jPanel28Layout.setHorizontalGroup(
            jPanel28Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel28Layout.createSequentialGroup()
                .addGroup(jPanel28Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel28Layout.createSequentialGroup()
                        .addComponent(lblColor52)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel28Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel28Layout.createSequentialGroup()
                                .addComponent(jLabel76)
                                .addGap(10, 10, 10)
                                .addComponent(color26, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel28Layout.createSequentialGroup()
                                .addGroup(jPanel28Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel28Layout.createSequentialGroup()
                                        .addComponent(C26R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel28Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C26G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel77)))
                                    .addGroup(jPanel28Layout.createSequentialGroup()
                                        .addComponent(C26CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C26CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel28Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C26CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel78)
                                    .addComponent(C26B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel28Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color26lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel28Layout.setVerticalGroup(
            jPanel28Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel28Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color26lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color26, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel28Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel76)
                    .addComponent(jLabel77)
                    .addComponent(jLabel78))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel28Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C26R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C26G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C26B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel28Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel28Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C26CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor52))
                    .addGroup(jPanel28Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C26CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C26CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel29.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C25G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC25G(evt);
            }
        });

        color25.setEditable(false);
        color25.setBackground(new java.awt.Color(0, 0, 0));
        color25.setBorder(null);

        C25B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC25B(evt);
            }
        });

        C25R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC25R(evt);
            }
        });

        Color25lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color25lbl.setText("SPARE 5");

        jLabel79.setText("R");

        jLabel80.setText("G");

        jLabel81.setText("B");

        C25CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC25R(evt);
            }
        });

        C25CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC25B(evt);
            }
        });

        C25CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC25G(evt);
            }
        });

        lblColor54.setText("Cal.");

        javax.swing.GroupLayout jPanel29Layout = new javax.swing.GroupLayout(jPanel29);
        jPanel29.setLayout(jPanel29Layout);
        jPanel29Layout.setHorizontalGroup(
            jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel29Layout.createSequentialGroup()
                .addGroup(jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel29Layout.createSequentialGroup()
                        .addComponent(lblColor54)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel29Layout.createSequentialGroup()
                                .addComponent(jLabel79)
                                .addGap(10, 10, 10)
                                .addComponent(color25, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel29Layout.createSequentialGroup()
                                .addGroup(jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel29Layout.createSequentialGroup()
                                        .addComponent(C25R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C25G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel80)))
                                    .addGroup(jPanel29Layout.createSequentialGroup()
                                        .addComponent(C25CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C25CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C25CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel81)
                                    .addComponent(C25B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel29Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color25lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel29Layout.setVerticalGroup(
            jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel29Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color25lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color25, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel79)
                    .addComponent(jLabel80)
                    .addComponent(jLabel81))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C25R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C25G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C25B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C25CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor54))
                    .addGroup(jPanel29Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C25CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C25CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel30.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C24G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC24G(evt);
            }
        });

        color24.setEditable(false);
        color24.setBackground(new java.awt.Color(0, 0, 0));
        color24.setBorder(null);

        C24B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC24B(evt);
            }
        });

        C24R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC24R(evt);
            }
        });

        Color24lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color24lbl.setText("SPARE 4");

        jLabel82.setText("R");

        jLabel83.setText("G");

        jLabel84.setText("B");

        C24CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC24R(evt);
            }
        });

        C24CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC24B(evt);
            }
        });

        C24CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC24G(evt);
            }
        });

        lblColor56.setText("Cal.");

        javax.swing.GroupLayout jPanel30Layout = new javax.swing.GroupLayout(jPanel30);
        jPanel30.setLayout(jPanel30Layout);
        jPanel30Layout.setHorizontalGroup(
            jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel30Layout.createSequentialGroup()
                .addGroup(jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel30Layout.createSequentialGroup()
                        .addComponent(lblColor56)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel30Layout.createSequentialGroup()
                                .addComponent(jLabel82)
                                .addGap(10, 10, 10)
                                .addComponent(color24, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel30Layout.createSequentialGroup()
                                .addGroup(jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel30Layout.createSequentialGroup()
                                        .addComponent(C24R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C24G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel83)))
                                    .addGroup(jPanel30Layout.createSequentialGroup()
                                        .addComponent(C24CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C24CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C24CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel84)
                                    .addComponent(C24B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel30Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color24lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel30Layout.setVerticalGroup(
            jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel30Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color24lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color24, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel82)
                    .addComponent(jLabel83)
                    .addComponent(jLabel84))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C24R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C24G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C24B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C24CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor56))
                    .addGroup(jPanel30Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C24CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C24CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel31.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C23G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC23G(evt);
            }
        });

        color23.setEditable(false);
        color23.setBackground(new java.awt.Color(0, 0, 0));
        color23.setBorder(null);

        C23B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC23B(evt);
            }
        });

        C23R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC23R(evt);
            }
        });

        Color23lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color23lbl.setText("SPARE 3");

        jLabel85.setText("R");

        jLabel86.setText("G");

        jLabel87.setText("B");

        C23CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC23R(evt);
            }
        });

        C23CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC23B(evt);
            }
        });

        C23CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC23G(evt);
            }
        });

        lblColor58.setText("Cal.");

        javax.swing.GroupLayout jPanel31Layout = new javax.swing.GroupLayout(jPanel31);
        jPanel31.setLayout(jPanel31Layout);
        jPanel31Layout.setHorizontalGroup(
            jPanel31Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel31Layout.createSequentialGroup()
                .addGroup(jPanel31Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel31Layout.createSequentialGroup()
                        .addComponent(lblColor58)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel31Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel31Layout.createSequentialGroup()
                                .addComponent(jLabel85)
                                .addGap(10, 10, 10)
                                .addComponent(color23, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel31Layout.createSequentialGroup()
                                .addGroup(jPanel31Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel31Layout.createSequentialGroup()
                                        .addComponent(C23R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel31Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C23G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel86)))
                                    .addGroup(jPanel31Layout.createSequentialGroup()
                                        .addComponent(C23CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C23CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel31Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C23CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel87)
                                    .addComponent(C23B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel31Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color23lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel31Layout.setVerticalGroup(
            jPanel31Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel31Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color23lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color23, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel31Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel85)
                    .addComponent(jLabel86)
                    .addComponent(jLabel87))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel31Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C23R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C23G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C23B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel31Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel31Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C23CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor58))
                    .addGroup(jPanel31Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C23CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C23CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel32.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        C22G.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC22G(evt);
            }
        });

        color22.setEditable(false);
        color22.setBackground(new java.awt.Color(0, 0, 0));
        color22.setBorder(null);

        C22B.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC22B(evt);
            }
        });

        C22R.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                FocusLostC22R(evt);
            }
        });

        Color22lbl.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        Color22lbl.setText("SPARE 2");

        jLabel88.setText("R");

        jLabel89.setText("G");

        jLabel90.setText("B");

        C22CalR.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC22R(evt);
            }
        });

        C22CalB.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC22B(evt);
            }
        });

        C22CalG.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                CalFocusLostC22G(evt);
            }
        });

        lblColor60.setText("Cal.");

        javax.swing.GroupLayout jPanel32Layout = new javax.swing.GroupLayout(jPanel32);
        jPanel32.setLayout(jPanel32Layout);
        jPanel32Layout.setHorizontalGroup(
            jPanel32Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel32Layout.createSequentialGroup()
                .addGroup(jPanel32Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel32Layout.createSequentialGroup()
                        .addComponent(lblColor60)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel32Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel32Layout.createSequentialGroup()
                                .addComponent(jLabel88)
                                .addGap(10, 10, 10)
                                .addComponent(color22, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel32Layout.createSequentialGroup()
                                .addGroup(jPanel32Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addGroup(jPanel32Layout.createSequentialGroup()
                                        .addComponent(C22R, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(10, 10, 10)
                                        .addGroup(jPanel32Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(C22G, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(jLabel89)))
                                    .addGroup(jPanel32Layout.createSequentialGroup()
                                        .addComponent(C22CalR, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(C22CalG, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel32Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(C22CalB, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel90)
                                    .addComponent(C22B, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel32Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(Color22lbl)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel32Layout.setVerticalGroup(
            jPanel32Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel32Layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(Color22lbl)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(color22, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(4, 4, 4)
                .addGroup(jPanel32Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel88)
                    .addComponent(jLabel89)
                    .addComponent(jLabel90))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel32Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(C22R, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C22G, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(C22B, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel32Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel32Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C22CalR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lblColor60))
                    .addGroup(jPanel32Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(C22CalB, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(C22CalG, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
        jPanel5.setLayout(jPanel5Layout);
        jPanel5Layout.setHorizontalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addComponent(jPanel32, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanel31, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanel30, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanel29, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanel28, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanel26, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanel27, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel5Layout.createSequentialGroup()
                                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addGroup(jPanel5Layout.createSequentialGroup()
                                    .addComponent(jPanel15, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jPanel16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jPanel17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jPanel18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jPanel19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGroup(jPanel5Layout.createSequentialGroup()
                                    .addComponent(jPanel12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jPanel11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jPanel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jPanel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jPanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jPanel20, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(jPanel22, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(jPanel21, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jPanel25, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(jPanel23, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(jPanel24, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                .addGap(0, 1, Short.MAX_VALUE))
        );
        jPanel5Layout.setVerticalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addComponent(jPanel25, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanel24, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanel23, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addComponent(jPanel20, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanel21, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanel22, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(jPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jPanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addComponent(jPanel12, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jPanel11, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jPanel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(jPanel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jPanel19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addComponent(jPanel15, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jPanel16, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jPanel17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(jPanel18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanel27, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanel26, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanel28, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(jPanel32, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jPanel31, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jPanel30, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jPanel29, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(0, 0, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Colores", jPanel5);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 1169, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(0, 0, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 618, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void FocustLostC3G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocustLostC3G
        C3G.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C3G.getText()));
        refreshColors();
    }//GEN-LAST:event_FocustLostC3G

    private void FocusLostC3B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC3B
        C3B.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C3B.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC3B

    private void FocusLostC3R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC3R
        C3R.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C3R.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC3R

    private void CalFocusLostC3R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC3R
        C3CalR.setText(checkValidTextField(RGB_CAL_TEXT_FIELD, C3CalR.getText()));
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC3R

    private void CalFocusLostC3B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC3B
        C3CalB.setText(checkValidTextField(RGB_CAL_TEXT_FIELD, C3CalB.getText()));
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC3B

    private void CalFocusLostC3G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC3G
        C3CalG.setText(checkValidTextField(RGB_CAL_TEXT_FIELD, C3CalG.getText()));
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC3G

    private void FocustLostC2G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocustLostC2G
        C2G.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C2G.getText()));
        refreshColors();
    }//GEN-LAST:event_FocustLostC2G

    private void FocusLostC2B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC2B
        C2B.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C2B.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC2B

    private void FocusLostC2R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC2R
        C2R.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C2R.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC2R

    private void CalFocusLostC2B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC2B
        C2CalB.setText(checkValidTextField(RGB_CAL_TEXT_FIELD, C2CalB.getText()));
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC2B

    private void CalFocusLostC2G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC2G
        C2CalG.setText(checkValidTextField(RGB_CAL_TEXT_FIELD, C2CalG.getText()));
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC2G

    private void FocusLostC5G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC5G
        C5R.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C5R.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC5G

    private void FocusLostC5B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC5B
        C5B.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C5B.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC5B

    private void FocusLostC5R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC5R
        C5R.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C5R.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC5R

    private void CalFocusLostC5R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC5R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC5R

    private void CalFocusLostC5B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC5B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC5B

    private void CalFocusLostC5G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC5G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC5G

    private void FocusLostC4G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC4G
        refreshColors();
    }//GEN-LAST:event_FocusLostC4G

    private void FocusLostC4B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC4B
        C4B.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C4B.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC4B

    private void FocusLostC4R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC4R
        C4R.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C4R.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC4R

    private void CalFocusLostC4R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC4R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC4R

    private void CalFocusLostC4B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC4B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC4B

    private void CalFocusLostC4G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC4G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC4G

    private void FocusLostC12G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC12G
        C12G.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C12G.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC12G

    private void FocusLostC12B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC12B
        C12B.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C12B.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC12B

    private void FocusLostC12R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC12R
        C12R.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C12R.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC12R

    private void CalFocusLostC12R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC12R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC12R

    private void CalFocusLostC12B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC12B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC12B

    private void CalFocusLostC12G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC12G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC12G

    private void FocusLostC11G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC11G
        C11G.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C11G.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC11G

    private void FocusLostC11B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC11B
        C11B.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C11B.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC11B

    private void FocusLostC11R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC11R
        C11R.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C11R.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC11R

    private void CalFocusLostC11R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC11R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC11R

    private void CalFocusLostC11B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC11B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC11B

    private void CalFocusLostC11G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC11G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC11G

    private void FocusLostC10G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC10G
        C10G.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C10G.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC10G

    private void FocusLostC10B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC10B
        C10B.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C10B.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC10B

    private void FocusLostC10R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC10R
        C10R.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C10R.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC10R

    private void CalFocusLostC10R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC10R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC10R

    private void CalFocusLostC10B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC10B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC10B

    private void CalFocusLostC10G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC10G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC10G

    private void FocusLostC9G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC9G
        C9G.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C9G.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC9G

    private void FocusLostC9B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC9B
        C9B.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C9B.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC9B

    private void FocusLostC9R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC9R
        C9R.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C9R.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC9R

    private void CalFocusLostC9R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC9R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC9R

    private void CalFocusLostC9B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC9B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC9B

    private void CalFocusLostC9G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC9G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC9G

    private void FocusLostC8B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC8B
        
        C8B.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C8B.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC8B

    private void FocusLostC8G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC8G
        C8G.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C8G.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC8G

    private void CalFocusLostC8R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC8R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC8R

    private void CalFocusLostC8B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC8B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC8B

    private void CalFocusLostC8G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC8G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC8G

    private void C5CalRActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_C5CalRActionPerformed
        refreshColors();
    }//GEN-LAST:event_C5CalRActionPerformed

    private void saveLastState(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_saveLastState
        getColorsConfig();
        try {
            config.saveConfig();   // Save the data into a file to be able to recover it.
            if (portConnected)
            comHandler.disconnect();  // Closes COM Port to leave it free.
        } catch (IOException ex) {
            Logger.getLogger(RGBPowerLedController.class.getName()).log(Level.SEVERE, null, ex);
        }

    }//GEN-LAST:event_saveLastState

    private void FocusLostC15G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC15G
        C15G.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C15G.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC15G

    private void FocusLostC15B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC15B
        C15B.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C15B.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC15B

    private void FocusLostC15R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC15R
        C15R.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C15R.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC15R

    private void CalFocusLostC15R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC15R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC15R

    private void CalFocusLostC15B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC15B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC15B

    private void CalFocusLostC15G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC15G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC15G

    private void FocusLostC16G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC16G
        C16G.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C16G.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC16G

    private void FocusLostC16B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC16B
        C16B.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C16B.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC16B

    private void FocusLostC16R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC16R
        C16R.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C16R.getText()));
        refreshColors();
    }//GEN-LAST:event_FocusLostC16R

    private void CalFocusLostC16R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC16R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC16R

    private void CalFocusLostC16B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC16B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC16B

    private void CalFocusLostC16G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC16G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC16G

    private void FocusLostC17G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC17G
        refreshColors();
    }//GEN-LAST:event_FocusLostC17G

    private void FocusLostC17B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC17B
        refreshColors();
    }//GEN-LAST:event_FocusLostC17B

    private void FocusLostC17R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC17R
        refreshColors();
    }//GEN-LAST:event_FocusLostC17R

    private void CalFocusLostC17R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC17R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC17R

    private void CalFocusLostC17B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC17B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC17B

    private void CalFocusLostC17G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC17G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC17G

    private void FocusLostC18G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC18G
        refreshColors();
    }//GEN-LAST:event_FocusLostC18G

    private void FocusLostC18B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC18B
        refreshColors();
    }//GEN-LAST:event_FocusLostC18B

    private void FocusLostC18R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC18R
        refreshColors();
    }//GEN-LAST:event_FocusLostC18R

    private void CalFocusLostC18R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC18R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC18R

    private void CalFocusLostC18B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC18B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC18B

    private void CalFocusLostC18G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC18G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC18G

    private void FocusLostC19G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC19G
        refreshColors();
    }//GEN-LAST:event_FocusLostC19G

    private void FocusLostC19B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC19B
        refreshColors();
    }//GEN-LAST:event_FocusLostC19B

    private void FocusLostC19R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC19R
        refreshColors();
    }//GEN-LAST:event_FocusLostC19R

    private void CalFocusLostC19R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC19R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC19R

    private void CalFocusLostC19B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC19B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC19B

    private void CalFocusLostC19G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC19G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC19G

    private void FocusLostC6G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC6G
        refreshColors();
    }//GEN-LAST:event_FocusLostC6G

    private void FocusLostC6B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC6B
        refreshColors();
    }//GEN-LAST:event_FocusLostC6B

    private void FocusLostC6R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC6R
        refreshColors();
    }//GEN-LAST:event_FocusLostC6R

    private void C6CalRActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_C6CalRActionPerformed
        refreshColors();
    }//GEN-LAST:event_C6CalRActionPerformed

    private void CalFocusLostC6R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC6R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC6R

    private void CalFocusLostC6B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC6B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC6B

    private void CalFocusLostC6G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC6G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC6G

    private void FocusLostC13G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC13G
        refreshColors();
    }//GEN-LAST:event_FocusLostC13G

    private void FocusLostC13B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC13B
        refreshColors();
    }//GEN-LAST:event_FocusLostC13B

    private void FocusLostC13R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC13R
        refreshColors();
    }//GEN-LAST:event_FocusLostC13R

    private void CalFocusLostC13R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC13R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC13R

    private void CalFocusLostC13B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC13B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC13B

    private void CalFocusLostC13G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC13G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC13G

    private void FocusLostC20G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC20G
        refreshColors();
    }//GEN-LAST:event_FocusLostC20G

    private void FocusLostC20B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC20B
        refreshColors();
    }//GEN-LAST:event_FocusLostC20B

    private void FocusLostC20R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC20R
        refreshColors();
    }//GEN-LAST:event_FocusLostC20R

    private void CalFocusLostC20R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC20R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC20R

    private void CalFocusLostC20B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC20B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC20B

    private void CalFocusLostC20G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC20G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC20G

    private void FocusLostC21G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC21G
        refreshColors();
    }//GEN-LAST:event_FocusLostC21G

    private void FocusLostC21B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC21B
        refreshColors();
    }//GEN-LAST:event_FocusLostC21B

    private void FocusLostC21R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC21R
        refreshColors();
    }//GEN-LAST:event_FocusLostC21R

    private void CalFocusLostC21R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC21R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC21R

    private void CalFocusLostC21B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC21B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC21B

    private void CalFocusLostC21G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC21G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC21G

    private void FocusLostC14G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC14G
        refreshColors();
    }//GEN-LAST:event_FocusLostC14G

    private void FocusLostC14B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC14B
        refreshColors();
    }//GEN-LAST:event_FocusLostC14B

    private void FocusLostC14R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC14R
        refreshColors();
    }//GEN-LAST:event_FocusLostC14R

    private void CalFocusLostC14R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC14R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC14R

    private void CalFocusLostC14B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC14B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC14B

    private void CalFocusLostC14G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC14G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC14G

    private void FocusLostC7G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC7G
        refreshColors();
    }//GEN-LAST:event_FocusLostC7G

    private void FocusLostC7B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC7B
        refreshColors();
    }//GEN-LAST:event_FocusLostC7B

    private void FocusLostC7R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC7R
        refreshColors();
    }//GEN-LAST:event_FocusLostC7R

    private void C7CalRActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_C7CalRActionPerformed
        refreshColors();
    }//GEN-LAST:event_C7CalRActionPerformed

    private void CalFocusLostC7R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC7R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC7R

    private void CalFocusLostC7B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC7B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC7B

    private void CalFocusLostC7G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC7G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC7G

    private void FocusLostC27G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC27G
        refreshColors();
    }//GEN-LAST:event_FocusLostC27G

    private void FocusLostC27B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC27B
        refreshColors();
    }//GEN-LAST:event_FocusLostC27B

    private void FocusLostC27R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC27R
        refreshColors();
    }//GEN-LAST:event_FocusLostC27R

    private void CalFocusLostC27R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC27R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC27R

    private void CalFocusLostC27B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC27B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC27B

    private void CalFocusLostC27G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC27G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC27G

    private void FocusLostC28G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC28G
        refreshColors();
    }//GEN-LAST:event_FocusLostC28G

    private void FocusLostC28B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC28B
        refreshColors();
    }//GEN-LAST:event_FocusLostC28B

    private void FocusLostC28R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC28R
        refreshColors();
    }//GEN-LAST:event_FocusLostC28R

    private void CalFocusLostC28R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC28R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC28R

    private void CalFocusLostC28B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC28B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC28B

    private void CalFocusLostC28G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC28G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC28G

    private void FocusLostC26G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC26G
        refreshColors();
    }//GEN-LAST:event_FocusLostC26G

    private void FocusLostC26B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC26B
        refreshColors();
    }//GEN-LAST:event_FocusLostC26B

    private void FocusLostC26R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC26R
        refreshColors();
    }//GEN-LAST:event_FocusLostC26R

    private void CalFocusLostC26R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC26R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC26R

    private void CalFocusLostC26B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC26B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC26B

    private void CalFocusLostC26G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC26G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC26G

    private void FocusLostC25G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC25G
        refreshColors();
    }//GEN-LAST:event_FocusLostC25G

    private void FocusLostC25B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC25B
        refreshColors();
    }//GEN-LAST:event_FocusLostC25B

    private void FocusLostC25R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC25R
        refreshColors();
    }//GEN-LAST:event_FocusLostC25R

    private void CalFocusLostC25R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC25R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC25R

    private void CalFocusLostC25B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC25B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC25B

    private void CalFocusLostC25G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC25G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC25G

    private void FocusLostC24G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC24G
        refreshColors();
    }//GEN-LAST:event_FocusLostC24G

    private void FocusLostC24B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC24B
        refreshColors();
    }//GEN-LAST:event_FocusLostC24B

    private void FocusLostC24R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC24R
        refreshColors();
    }//GEN-LAST:event_FocusLostC24R

    private void CalFocusLostC24R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC24R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC24R

    private void CalFocusLostC24B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC24B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC24B

    private void CalFocusLostC24G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC24G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC24G

    private void FocusLostC23G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC23G
        refreshColors();
    }//GEN-LAST:event_FocusLostC23G

    private void FocusLostC23B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC23B
        refreshColors();
    }//GEN-LAST:event_FocusLostC23B

    private void FocusLostC23R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC23R
        refreshColors();
    }//GEN-LAST:event_FocusLostC23R

    private void CalFocusLostC23R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC23R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC23R

    private void CalFocusLostC23B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC23B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC23B

    private void CalFocusLostC23G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC23G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC23G

    private void FocusLostC22G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC22G
        refreshColors();
    }//GEN-LAST:event_FocusLostC22G

    private void FocusLostC22B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC22B
        refreshColors();
    }//GEN-LAST:event_FocusLostC22B

    private void FocusLostC22R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC22R
        refreshColors();
    }//GEN-LAST:event_FocusLostC22R

    private void CalFocusLostC22R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC22R
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC22R

    private void CalFocusLostC22B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC22B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC22B

    private void CalFocusLostC22G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC22G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC22G

    private void btnConfigureActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnConfigureActionPerformed
        savePresetSelection();        
        comHandler.sendPresetPacket(1, 2000, 4080,4080,4080, 2000, 4080, 1, 3, 2);
        comHandler.sendPresetPacket(1, 4080-(Integer.parseInt(colorsTextFieldsList.get(cbSelection1.getSelectedIndex())[0].getText())*16), 
                4080-(Integer.parseInt(colorsTextFieldsList.get(cbSelection1.getSelectedIndex())[1].getText())*16),
                4080-(Integer.parseInt(colorsTextFieldsList.get(cbSelection1.getSelectedIndex())[2].getText())*16),
                4080-(Integer.parseInt(colorsTextFieldsList.get(cbSelection2.getSelectedIndex())[0].getText())*16), 
                4080-(Integer.parseInt(colorsTextFieldsList.get(cbSelection2.getSelectedIndex())[1].getText())*16), 
                4080-(Integer.parseInt(colorsTextFieldsList.get(cbSelection2.getSelectedIndex())[2].getText())*16),
                Integer.parseInt(tfTimeSelection1.getText()), Integer.parseInt(tfTimeOff.getText()),Integer.parseInt(tfTimeSelection2.getText()));
        //sendPreset(1);
    }//GEN-LAST:event_btnConfigureActionPerformed

    private void btnIRStartActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnIRStartActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnIRStartActionPerformed

    private void btnIRStopActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnIRStopActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnIRStopActionPerformed

    private void tfIRStartActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tfIRStartActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_tfIRStartActionPerformed

    private void tfIRStopActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tfIRStopActionPerformed
        comHandler.sendSetIRCode(1);
    }//GEN-LAST:event_tfIRStopActionPerformed

    private void btnIRPreset1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnIRPreset1ActionPerformed
        comHandler.sendSetIRCode(1);
    }//GEN-LAST:event_btnIRPreset1ActionPerformed

    private void tfIRPresets1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tfIRPresets1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_tfIRPresets1ActionPerformed

    private void CTestGFocustLostC1G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CTestGFocustLostC1G
        colorTest.setBackground(new Color(Integer.parseInt(CTestR.getText()), Integer.parseInt(CTestG.getText()), Integer.parseInt(CTestB.getText())));
        comHandler.sendSetOutputPacket(255-Integer.parseInt(CTestR.getText()),255-Integer.parseInt(CTestG.getText()), 255-Integer.parseInt(CTestB.getText()));
    }//GEN-LAST:event_CTestGFocustLostC1G

    private void CTestBFocusLostC1B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CTestBFocusLostC1B
        colorTest.setBackground(new Color(Integer.parseInt(CTestR.getText()), Integer.parseInt(CTestG.getText()), Integer.parseInt(CTestB.getText())));
        comHandler.sendSetOutputPacket(255-Integer.parseInt(CTestR.getText()),255-Integer.parseInt(CTestG.getText()), 255-Integer.parseInt(CTestB.getText()));

    }//GEN-LAST:event_CTestBFocusLostC1B

    private void CTestRFocusLostC1R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CTestRFocusLostC1R
        colorTest.setBackground(new Color(Integer.parseInt(CTestR.getText()), Integer.parseInt(CTestG.getText()), Integer.parseInt(CTestB.getText())));
        comHandler.sendSetOutputPacket(255-Integer.parseInt(CTestR.getText()),255-Integer.parseInt(CTestG.getText()), 255-Integer.parseInt(CTestB.getText()));

    }//GEN-LAST:event_CTestRFocusLostC1R

    private void CTestCalRFocusLostC1R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CTestCalRFocusLostC1R
        // TODO add your handling code here:
    }//GEN-LAST:event_CTestCalRFocusLostC1R

    private void CTestCalBFocusLostC1R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CTestCalBFocusLostC1R
        // TODO add your handling code here:
    }//GEN-LAST:event_CTestCalBFocusLostC1R

    private void CTestCalGFocusLostC1R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CTestCalGFocusLostC1R
        // TODO add your handling code here:
    }//GEN-LAST:event_CTestCalGFocusLostC1R

    private void tfIRPresets2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tfIRPresets2ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_tfIRPresets2ActionPerformed

    private void tfIRPresets3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tfIRPresets3ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_tfIRPresets3ActionPerformed

    private void tfIRPresets4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tfIRPresets4ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_tfIRPresets4ActionPerformed

    private void btnIRPreset4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnIRPreset4ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnIRPreset4ActionPerformed

    private void btnIRPreset2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnIRPreset2ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnIRPreset2ActionPerformed

    private void btnIRPreset3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnIRPreset3ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnIRPreset3ActionPerformed

    private void btnIRPreset6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnIRPreset6ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnIRPreset6ActionPerformed

    private void btnIRPreset7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnIRPreset7ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnIRPreset7ActionPerformed

    private void tfIRPresets7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tfIRPresets7ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_tfIRPresets7ActionPerformed

    private void tfIRPresets6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tfIRPresets6ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_tfIRPresets6ActionPerformed

    private void tfIRPresets5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tfIRPresets5ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_tfIRPresets5ActionPerformed

    private void btnIRPreset5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnIRPreset5ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnIRPreset5ActionPerformed

    private void tfIRPresets8ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tfIRPresets8ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_tfIRPresets8ActionPerformed

    private void btnIRPreset8ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnIRPreset8ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnIRPreset8ActionPerformed

    private void btnIRPreset9ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnIRPreset9ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnIRPreset9ActionPerformed

    private void tfIRPresets9ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tfIRPresets9ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_tfIRPresets9ActionPerformed

    private void tfIRPresets10ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tfIRPresets10ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_tfIRPresets10ActionPerformed

    private void btnIRPreset10ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnIRPreset10ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnIRPreset10ActionPerformed

    private void CalFocusLostC2R(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC2R
        // TODO add your handling code here:
    }//GEN-LAST:event_CalFocusLostC2R

    private void presetsListChanged(javax.swing.event.ListSelectionEvent evt) {//GEN-FIRST:event_presetsListChanged
        //savePresetSelection();    
        refreshPresetSelection();
        System.out.println("Item Changed");
    }//GEN-LAST:event_presetsListChanged

    private void tfTimeOffFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_tfTimeOffFocusLost
        //savePresetSelection();
        //refreshPresetSelection();
    }//GEN-LAST:event_tfTimeOffFocusLost

    private void tfTimeSelection2FocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_tfTimeSelection2FocusLost
        //savePresetSelection();
    }//GEN-LAST:event_tfTimeSelection2FocusLost

    private void cbSelection1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cbSelection1ActionPerformed

        savePresetSelection();
        refreshPresetSelection();

    }//GEN-LAST:event_cbSelection1ActionPerformed

    private void cbSelection2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cbSelection2ActionPerformed
       
        savePresetSelection();
        //refreshPresetSelection();
        refreshPresetSelection();

    }//GEN-LAST:event_cbSelection2ActionPerformed

    private void tfTimeSelection1LostFocus(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_tfTimeSelection1LostFocus
        // savePresetSelection();
    }//GEN-LAST:event_tfTimeSelection1LostFocus

    private void btnRefreshComPortsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnRefreshComPortsActionPerformed
        lPortSelection.setListData(comHandler.getAvailablePorts());

    }//GEN-LAST:event_btnRefreshComPortsActionPerformed

    private void btnConnectComPortActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnConnectComPortActionPerformed

        comHandler.connect(lPortSelection.getSelectedValue().toString(), BAUD_RATE);
        portConnected = true;
    }//GEN-LAST:event_btnConnectComPortActionPerformed

    private void tfTimeSelection1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_tfTimeSelection1ActionPerformed
        System.out.println("tf1 Actionperformed");
    }//GEN-LAST:event_tfTimeSelection1ActionPerformed

    private void listPresetsFocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_listPresetsFocusGained
        // System.out.println("Focus Gained");
        //savePresetSelection();   
    }//GEN-LAST:event_listPresetsFocusGained

    private void btnSavePresetActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSavePresetActionPerformed
        savePresetSelection();
    }//GEN-LAST:event_btnSavePresetActionPerformed

    private void CalFocusLostC1G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC1G
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC1G

    private void CalFocusLostC1B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_CalFocusLostC1B
        refreshColors();
    }//GEN-LAST:event_CalFocusLostC1B

    private void FocusLostC1B(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocusLostC1B
        refreshColor(1);
    }//GEN-LAST:event_FocusLostC1B

    private void FocustLostC1G(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_FocustLostC1G
        C1G.setText(checkValidTextField(RGB_VALUE_TEXT_FIELD, C1G.getText()));
        refreshColors();
    }//GEN-LAST:event_FocustLostC1G

    public static void main(String args[]) {
        /*
         * Set the Nimbus look and feel
         */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /*
         * If Nimbus (introduced in Java SE 6) is not available, stay with the
         * default look and feel. For details see
         * http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(RGBPowerLedController.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(RGBPowerLedController.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(RGBPowerLedController.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(RGBPowerLedController.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /*
         * Create and display the form
         */
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new RGBPowerLedController().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JTextField C10B;
    private javax.swing.JTextField C10CalB;
    private javax.swing.JTextField C10CalG;
    private javax.swing.JTextField C10CalR;
    private javax.swing.JTextField C10G;
    private javax.swing.JTextField C10R;
    private javax.swing.JTextField C11B;
    private javax.swing.JTextField C11CalB;
    private javax.swing.JTextField C11CalG;
    private javax.swing.JTextField C11CalR;
    private javax.swing.JTextField C11G;
    private javax.swing.JTextField C11R;
    private javax.swing.JTextField C12B;
    private javax.swing.JTextField C12CalB;
    private javax.swing.JTextField C12CalG;
    private javax.swing.JTextField C12CalR;
    private javax.swing.JTextField C12G;
    private javax.swing.JTextField C12R;
    private javax.swing.JTextField C13B;
    private javax.swing.JTextField C13CalB;
    private javax.swing.JTextField C13CalG;
    private javax.swing.JTextField C13CalR;
    private javax.swing.JTextField C13G;
    private javax.swing.JTextField C13R;
    private javax.swing.JTextField C14B;
    private javax.swing.JTextField C14CalB;
    private javax.swing.JTextField C14CalG;
    private javax.swing.JTextField C14CalR;
    private javax.swing.JTextField C14G;
    private javax.swing.JTextField C14R;
    private javax.swing.JTextField C15B;
    private javax.swing.JTextField C15CalB;
    private javax.swing.JTextField C15CalG;
    private javax.swing.JTextField C15CalR;
    private javax.swing.JTextField C15G;
    private javax.swing.JTextField C15R;
    private javax.swing.JTextField C16B;
    private javax.swing.JTextField C16CalB;
    private javax.swing.JTextField C16CalG;
    private javax.swing.JTextField C16CalR;
    private javax.swing.JTextField C16G;
    private javax.swing.JTextField C16R;
    private javax.swing.JTextField C17B;
    private javax.swing.JTextField C17CalB;
    private javax.swing.JTextField C17CalG;
    private javax.swing.JTextField C17CalR;
    private javax.swing.JTextField C17G;
    private javax.swing.JTextField C17R;
    private javax.swing.JTextField C18B;
    private javax.swing.JTextField C18CalB;
    private javax.swing.JTextField C18CalG;
    private javax.swing.JTextField C18CalR;
    private javax.swing.JTextField C18G;
    private javax.swing.JTextField C18R;
    private javax.swing.JTextField C19B;
    private javax.swing.JTextField C19CalB;
    private javax.swing.JTextField C19CalG;
    private javax.swing.JTextField C19CalR;
    private javax.swing.JTextField C19G;
    private javax.swing.JTextField C19R;
    private javax.swing.JTextField C1B;
    private javax.swing.JTextField C1CalB;
    private javax.swing.JTextField C1CalG;
    private javax.swing.JTextField C1CalR;
    private javax.swing.JTextField C1G;
    private javax.swing.JTextField C1R;
    private javax.swing.JTextField C20B;
    private javax.swing.JTextField C20CalB;
    private javax.swing.JTextField C20CalG;
    private javax.swing.JTextField C20CalR;
    private javax.swing.JTextField C20G;
    private javax.swing.JTextField C20R;
    private javax.swing.JTextField C21B;
    private javax.swing.JTextField C21CalB;
    private javax.swing.JTextField C21CalG;
    private javax.swing.JTextField C21CalR;
    private javax.swing.JTextField C21G;
    private javax.swing.JTextField C21R;
    private javax.swing.JTextField C22B;
    private javax.swing.JTextField C22CalB;
    private javax.swing.JTextField C22CalG;
    private javax.swing.JTextField C22CalR;
    private javax.swing.JTextField C22G;
    private javax.swing.JTextField C22R;
    private javax.swing.JTextField C23B;
    private javax.swing.JTextField C23CalB;
    private javax.swing.JTextField C23CalG;
    private javax.swing.JTextField C23CalR;
    private javax.swing.JTextField C23G;
    private javax.swing.JTextField C23R;
    private javax.swing.JTextField C24B;
    private javax.swing.JTextField C24CalB;
    private javax.swing.JTextField C24CalG;
    private javax.swing.JTextField C24CalR;
    private javax.swing.JTextField C24G;
    private javax.swing.JTextField C24R;
    private javax.swing.JTextField C25B;
    private javax.swing.JTextField C25CalB;
    private javax.swing.JTextField C25CalG;
    private javax.swing.JTextField C25CalR;
    private javax.swing.JTextField C25G;
    private javax.swing.JTextField C25R;
    private javax.swing.JTextField C26B;
    private javax.swing.JTextField C26CalB;
    private javax.swing.JTextField C26CalG;
    private javax.swing.JTextField C26CalR;
    private javax.swing.JTextField C26G;
    private javax.swing.JTextField C26R;
    private javax.swing.JTextField C27B;
    private javax.swing.JTextField C27CalB;
    private javax.swing.JTextField C27CalG;
    private javax.swing.JTextField C27CalR;
    private javax.swing.JTextField C27G;
    private javax.swing.JTextField C27R;
    private javax.swing.JTextField C28B;
    private javax.swing.JTextField C28CalB;
    private javax.swing.JTextField C28CalG;
    private javax.swing.JTextField C28CalR;
    private javax.swing.JTextField C28G;
    private javax.swing.JTextField C28R;
    private javax.swing.JTextField C2B;
    private javax.swing.JTextField C2CalB;
    private javax.swing.JTextField C2CalG;
    private javax.swing.JTextField C2CalR;
    private javax.swing.JTextField C2G;
    private javax.swing.JTextField C2R;
    private javax.swing.JTextField C3B;
    private javax.swing.JTextField C3CalB;
    private javax.swing.JTextField C3CalG;
    private javax.swing.JTextField C3CalR;
    private javax.swing.JTextField C3G;
    private javax.swing.JTextField C3R;
    private javax.swing.JTextField C4B;
    private javax.swing.JTextField C4CalB;
    private javax.swing.JTextField C4CalG;
    private javax.swing.JTextField C4CalR;
    private javax.swing.JTextField C4G;
    private javax.swing.JTextField C4R;
    private javax.swing.JTextField C5B;
    private javax.swing.JTextField C5CalB;
    private javax.swing.JTextField C5CalG;
    private javax.swing.JTextField C5CalR;
    private javax.swing.JTextField C5G;
    private javax.swing.JTextField C5R;
    private javax.swing.JTextField C6B;
    private javax.swing.JTextField C6CalB;
    private javax.swing.JTextField C6CalG;
    private javax.swing.JTextField C6CalR;
    private javax.swing.JTextField C6G;
    private javax.swing.JTextField C6R;
    private javax.swing.JTextField C7B;
    private javax.swing.JTextField C7CalB;
    private javax.swing.JTextField C7CalG;
    private javax.swing.JTextField C7CalR;
    private javax.swing.JTextField C7G;
    private javax.swing.JTextField C7R;
    private javax.swing.JTextField C8B;
    private javax.swing.JTextField C8CalB;
    private javax.swing.JTextField C8CalG;
    private javax.swing.JTextField C8CalR;
    private javax.swing.JTextField C8G;
    private javax.swing.JTextField C8R;
    private javax.swing.JTextField C9B;
    private javax.swing.JTextField C9CalB;
    private javax.swing.JTextField C9CalG;
    private javax.swing.JTextField C9CalR;
    private javax.swing.JTextField C9G;
    private javax.swing.JTextField C9R;
    private javax.swing.JTextField CTestB;
    private javax.swing.JTextField CTestCalB;
    private javax.swing.JTextField CTestCalG;
    private javax.swing.JTextField CTestCalR;
    private javax.swing.JTextField CTestG;
    private javax.swing.JTextField CTestR;
    private javax.swing.JLabel Color10lbl;
    private javax.swing.JLabel Color11lbl;
    private javax.swing.JLabel Color12lbl;
    private javax.swing.JLabel Color13lbl;
    private javax.swing.JLabel Color14lbl;
    private javax.swing.JLabel Color15lbl;
    private javax.swing.JLabel Color16lbl;
    private javax.swing.JLabel Color17lbl;
    private javax.swing.JLabel Color18lbl;
    private javax.swing.JLabel Color19lbl;
    private javax.swing.JLabel Color1lbl;
    private javax.swing.JLabel Color20lbl;
    private javax.swing.JLabel Color21lbl;
    private javax.swing.JLabel Color22lbl;
    private javax.swing.JLabel Color23lbl;
    private javax.swing.JLabel Color24lbl;
    private javax.swing.JLabel Color25lbl;
    private javax.swing.JLabel Color26lbl;
    private javax.swing.JLabel Color27lbl;
    private javax.swing.JLabel Color28lbl;
    private javax.swing.JLabel Color2lbl;
    private javax.swing.JLabel Color3lbl;
    private javax.swing.JLabel Color4lbl;
    private javax.swing.JLabel Color5lbl;
    private javax.swing.JLabel Color6lbl;
    private javax.swing.JLabel Color7lbl;
    private javax.swing.JLabel Color8lbl;
    private javax.swing.JLabel Color9lbl;
    private javax.swing.JButton btnConfigure;
    private javax.swing.JToggleButton btnConnectComPort;
    private javax.swing.JButton btnIRPreset1;
    private javax.swing.JButton btnIRPreset10;
    private javax.swing.JButton btnIRPreset2;
    private javax.swing.JButton btnIRPreset3;
    private javax.swing.JButton btnIRPreset4;
    private javax.swing.JButton btnIRPreset5;
    private javax.swing.JButton btnIRPreset6;
    private javax.swing.JButton btnIRPreset7;
    private javax.swing.JButton btnIRPreset8;
    private javax.swing.JButton btnIRPreset9;
    private javax.swing.JButton btnIRStart;
    private javax.swing.JButton btnIRStop;
    private javax.swing.JToggleButton btnRefreshComPorts;
    private javax.swing.JButton btnSavePreset;
    private javax.swing.JComboBox cbSelection1;
    private javax.swing.JComboBox cbSelection2;
    private javax.swing.JTextField color1;
    private javax.swing.JTextField color10;
    private javax.swing.JTextField color11;
    private javax.swing.JTextField color12;
    private javax.swing.JTextField color13;
    private javax.swing.JTextField color14;
    private javax.swing.JTextField color15;
    private javax.swing.JTextField color16;
    private javax.swing.JTextField color17;
    private javax.swing.JTextField color18;
    private javax.swing.JTextField color19;
    private javax.swing.JTextField color2;
    private javax.swing.JTextField color20;
    private javax.swing.JTextField color21;
    private javax.swing.JTextField color22;
    private javax.swing.JTextField color23;
    private javax.swing.JTextField color24;
    private javax.swing.JTextField color25;
    private javax.swing.JTextField color26;
    private javax.swing.JTextField color27;
    private javax.swing.JTextField color28;
    private javax.swing.JTextField color3;
    private javax.swing.JTextField color30;
    private javax.swing.JTextField color4;
    private javax.swing.JTextField color5;
    private javax.swing.JTextField color6;
    private javax.swing.JTextField color7;
    private javax.swing.JTextField color8;
    private javax.swing.JTextField color9;
    private javax.swing.JTextField colorSelection1;
    private javax.swing.JTextField colorSelection2;
    private javax.swing.JTextField colorTest;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel100;
    private javax.swing.JLabel jLabel101;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel25;
    private javax.swing.JLabel jLabel26;
    private javax.swing.JLabel jLabel27;
    private javax.swing.JLabel jLabel28;
    private javax.swing.JLabel jLabel29;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel30;
    private javax.swing.JLabel jLabel31;
    private javax.swing.JLabel jLabel32;
    private javax.swing.JLabel jLabel33;
    private javax.swing.JLabel jLabel34;
    private javax.swing.JLabel jLabel35;
    private javax.swing.JLabel jLabel36;
    private javax.swing.JLabel jLabel37;
    private javax.swing.JLabel jLabel38;
    private javax.swing.JLabel jLabel39;
    private javax.swing.JLabel jLabel40;
    private javax.swing.JLabel jLabel41;
    private javax.swing.JLabel jLabel42;
    private javax.swing.JLabel jLabel43;
    private javax.swing.JLabel jLabel44;
    private javax.swing.JLabel jLabel45;
    private javax.swing.JLabel jLabel46;
    private javax.swing.JLabel jLabel47;
    private javax.swing.JLabel jLabel48;
    private javax.swing.JLabel jLabel49;
    private javax.swing.JLabel jLabel50;
    private javax.swing.JLabel jLabel51;
    private javax.swing.JLabel jLabel52;
    private javax.swing.JLabel jLabel53;
    private javax.swing.JLabel jLabel54;
    private javax.swing.JLabel jLabel55;
    private javax.swing.JLabel jLabel56;
    private javax.swing.JLabel jLabel57;
    private javax.swing.JLabel jLabel58;
    private javax.swing.JLabel jLabel59;
    private javax.swing.JLabel jLabel60;
    private javax.swing.JLabel jLabel61;
    private javax.swing.JLabel jLabel62;
    private javax.swing.JLabel jLabel63;
    private javax.swing.JLabel jLabel64;
    private javax.swing.JLabel jLabel65;
    private javax.swing.JLabel jLabel66;
    private javax.swing.JLabel jLabel67;
    private javax.swing.JLabel jLabel68;
    private javax.swing.JLabel jLabel69;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel70;
    private javax.swing.JLabel jLabel71;
    private javax.swing.JLabel jLabel72;
    private javax.swing.JLabel jLabel73;
    private javax.swing.JLabel jLabel74;
    private javax.swing.JLabel jLabel75;
    private javax.swing.JLabel jLabel76;
    private javax.swing.JLabel jLabel77;
    private javax.swing.JLabel jLabel78;
    private javax.swing.JLabel jLabel79;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel80;
    private javax.swing.JLabel jLabel81;
    private javax.swing.JLabel jLabel82;
    private javax.swing.JLabel jLabel83;
    private javax.swing.JLabel jLabel84;
    private javax.swing.JLabel jLabel85;
    private javax.swing.JLabel jLabel86;
    private javax.swing.JLabel jLabel87;
    private javax.swing.JLabel jLabel88;
    private javax.swing.JLabel jLabel89;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JLabel jLabel90;
    private javax.swing.JLabel jLabel91;
    private javax.swing.JLabel jLabel92;
    private javax.swing.JLabel jLabel95;
    private javax.swing.JLabel jLabel97;
    private javax.swing.JLabel jLabel98;
    private javax.swing.JLabel jLabel99;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel10;
    private javax.swing.JPanel jPanel11;
    private javax.swing.JPanel jPanel12;
    private javax.swing.JPanel jPanel13;
    private javax.swing.JPanel jPanel14;
    private javax.swing.JPanel jPanel15;
    private javax.swing.JPanel jPanel16;
    private javax.swing.JPanel jPanel17;
    private javax.swing.JPanel jPanel18;
    private javax.swing.JPanel jPanel19;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel20;
    private javax.swing.JPanel jPanel21;
    private javax.swing.JPanel jPanel22;
    private javax.swing.JPanel jPanel23;
    private javax.swing.JPanel jPanel24;
    private javax.swing.JPanel jPanel25;
    private javax.swing.JPanel jPanel26;
    private javax.swing.JPanel jPanel27;
    private javax.swing.JPanel jPanel28;
    private javax.swing.JPanel jPanel29;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel30;
    private javax.swing.JPanel jPanel31;
    private javax.swing.JPanel jPanel32;
    private javax.swing.JPanel jPanel33;
    private javax.swing.JPanel jPanel34;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JPanel jPanel8;
    private javax.swing.JPanel jPanel9;
    private javax.swing.JProgressBar jProgressBar2;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JList lPortSelection;
    private javax.swing.JLabel lblColor12;
    private javax.swing.JLabel lblColor14;
    private javax.swing.JLabel lblColor16;
    private javax.swing.JLabel lblColor18;
    private javax.swing.JLabel lblColor2;
    private javax.swing.JLabel lblColor20;
    private javax.swing.JLabel lblColor22;
    private javax.swing.JLabel lblColor24;
    private javax.swing.JLabel lblColor26;
    private javax.swing.JLabel lblColor28;
    private javax.swing.JLabel lblColor30;
    private javax.swing.JLabel lblColor32;
    private javax.swing.JLabel lblColor34;
    private javax.swing.JLabel lblColor36;
    private javax.swing.JLabel lblColor38;
    private javax.swing.JLabel lblColor40;
    private javax.swing.JLabel lblColor42;
    private javax.swing.JLabel lblColor44;
    private javax.swing.JLabel lblColor46;
    private javax.swing.JLabel lblColor48;
    private javax.swing.JLabel lblColor50;
    private javax.swing.JLabel lblColor52;
    private javax.swing.JLabel lblColor54;
    private javax.swing.JLabel lblColor56;
    private javax.swing.JLabel lblColor58;
    private javax.swing.JLabel lblColor6;
    private javax.swing.JLabel lblColor60;
    private javax.swing.JLabel lblColor62;
    private javax.swing.JLabel lblColor8;
    private javax.swing.JLabel lblIRPreset1;
    private javax.swing.JLabel lblIRPreset10;
    private javax.swing.JLabel lblIRPreset2;
    private javax.swing.JLabel lblIRPreset3;
    private javax.swing.JLabel lblIRPreset4;
    private javax.swing.JLabel lblIRPreset5;
    private javax.swing.JLabel lblIRPreset6;
    private javax.swing.JLabel lblIRPreset7;
    private javax.swing.JLabel lblIRPreset8;
    private javax.swing.JLabel lblIRPreset9;
    private javax.swing.JLabel lblIRStart;
    private javax.swing.JLabel lblIRStop;
    private javax.swing.JLabel lblSelection1;
    private javax.swing.JLabel lblSelection16;
    private javax.swing.JLabel lblSelection17;
    private javax.swing.JLabel lblSelection19;
    private javax.swing.JLabel lblSelection3;
    private javax.swing.JLabel lblSelection4;
    private javax.swing.JList listPresets;
    private javax.swing.JTextField tfIRPresets1;
    private javax.swing.JTextField tfIRPresets10;
    private javax.swing.JTextField tfIRPresets2;
    private javax.swing.JTextField tfIRPresets3;
    private javax.swing.JTextField tfIRPresets4;
    private javax.swing.JTextField tfIRPresets5;
    private javax.swing.JTextField tfIRPresets6;
    private javax.swing.JTextField tfIRPresets7;
    private javax.swing.JTextField tfIRPresets8;
    private javax.swing.JTextField tfIRPresets9;
    private javax.swing.JTextField tfIRStart;
    private javax.swing.JTextField tfIRStop;
    private javax.swing.JTextField tfTimeOff;
    private javax.swing.JTextField tfTimeSelection1;
    private javax.swing.JTextField tfTimeSelection2;
    // End of variables declaration//GEN-END:variables
}

class Listeners implements FocusListener{
      public void focusLost(FocusEvent event) {
          JTextField tempTF = null;
                 
          
          System.out.println (event.getID());
          System.out.println(event.getComponent().getName());
              
          tempTF = (JTextField) event.getSource();
         // System.out.println (tempTF.get());
          tempTF.setText("24");
        
      }
      public void focusGained (FocusEvent event){
          
      }
}